	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si1133_validate_ids
_si1133_validate_ids:                   ## @si1133_validate_ids
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_iio_priv
	movq	%rax, %rbx
	movl	(%rax), %edi
	movq	_SI1133_REG_PART_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	(%rbx), %edi
	movq	_SI1133_REG_REV_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movl	(%rbx), %edi
	movq	_SI1133_REG_MFR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	-20(%rbp), %edx
	movl	-28(%rbp), %ecx
	movl	-24(%rbp), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	movl	-20(%rbp), %edx
	movq	_SI1133_PART_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SI1133_REG_PART_ID,4,2         ## @SI1133_REG_PART_ID
	.comm	_SI1133_REG_REV_ID,4,2          ## @SI1133_REG_REV_ID
	.comm	_SI1133_REG_MFR_ID,4,2          ## @SI1133_REG_MFR_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Device ID part %#02hhx rev %#02hhx mfr %#02hhx\n"

	.comm	_SI1133_PART_ID,4,2             ## @SI1133_PART_ID
L_.str.1:                               ## @.str.1
	.asciz	"Part ID mismatch got %#02hhx, expected %#02x\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_si1133_validate_ids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si1133_validate_ids
_si1133_validate_ids:                   ; @si1133_validate_ids
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_iio_priv
	mov	x20, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _SI1133_REG_PART_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SI1133_REG_PART_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _SI1133_REG_REV_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SI1133_REG_REV_ID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_regmap_read
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _SI1133_REG_MFR_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SI1133_REG_MFR_ID@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #4
	bl	_regmap_read
	cbnz	w0, LBB0_6
; %bb.3:
	ldp	w3, w2, [sp, #8]
	ldr	w4, [sp, #4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	ldr	w2, [sp, #12]
Lloh11:
	adrp	x8, _SI1133_PART_ID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SI1133_PART_ID@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	cmp	w2, w3
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SI1133_REG_PART_ID,4,2         ; @SI1133_REG_PART_ID
	.comm	_SI1133_REG_REV_ID,4,2          ; @SI1133_REG_REV_ID
	.comm	_SI1133_REG_MFR_ID,4,2          ; @SI1133_REG_MFR_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Device ID part %#02hhx rev %#02hhx mfr %#02hhx\n"

	.comm	_SI1133_PART_ID,4,2             ; @SI1133_PART_ID
l_.str.1:                               ; @.str.1
	.asciz	"Part ID mismatch got %#02hhx, expected %#02x\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_si1133_validate_ids
.subsections_via_symbols
