	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si1133_probe
_si1133_probe:                          ## @si1133_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$24, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r12
	leaq	20(%rax), %rdi
	callq	_init_completion
	movq	_si1133_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 16(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	16(%r12), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
LBB0_3:
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_14
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_13:
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 8(%r12)
	movq	%r14, 32(%r15)
	movl	(%rbx), %eax
	movl	%eax, 24(%r15)
	movq	_si1133_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 20(%r15)
	callq	_ARRAY_SIZE
	movl	%eax, 16(%r15)
	movq	_si1133_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	callq	_si1133_validate_ids
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
LBB0_14:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r12, %rdi
	callq	_si1133_initialize
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_8:
	movl	4(%r14), %esi
	testl	%esi, %esi
	je	LBB0_12
## %bb.9:
	movq	_si1133_threaded_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movl	8(%r14), %r9d
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	movl	4(%r14), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_dev_warn
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_si1133_regmap_config,4,2       ## @si1133_regmap_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to initialise regmap: %d\n"

	.comm	_si1133_channels,4,2            ## @si1133_channels
	.comm	_si1133_info,4,2                ## @si1133_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
L_.str.1:                               ## @.str.1
	.asciz	"Error when initializing chip: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Required interrupt not provided, cannot proceed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_si1133_threaded_irq_handler,4,2 ## @si1133_threaded_irq_handler
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.3:                               ## @.str.3
	.asciz	"Request irq %d failed: %i\n"

	.no_dead_strip	_si1133_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si1133_probe
_si1133_probe:                          ; @si1133_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x1
	mov	x19, x0
	mov	w1, #24
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x21, x0
	add	x0, x0, #20
	bl	_init_completion
Lloh0:
	adrp	x1, _si1133_regmap_config@GOTPAGE
Lloh1:
	ldr	x1, [x1, _si1133_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	w0, [x21, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x21, #16]
	bl	_PTR_ERR
	mov	x22, x0
	str	x22, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x19, [x21, #8]
	str	x19, [x20, #32]
	ldr	w8, [x22]
Lloh6:
	adrp	x9, _si1133_channels@GOTPAGE
Lloh7:
	ldr	x9, [x9, _si1133_channels@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
	stp	w0, w8, [x20, #20]
	bl	_ARRAY_SIZE
Lloh9:
	adrp	x8, _si1133_info@GOTPAGE
Lloh10:
	ldr	x8, [x8, _si1133_info@GOTPAGEOFF]
	str	w0, [x20, #16]
	str	x8, [x20, #8]
Lloh11:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x21
	bl	_mutex_init
	mov	x0, x20
	bl	_si1133_validate_ids
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.6:
	mov	x0, x21
	bl	_si1133_initialize
	cbz	w0, LBB0_9
; %bb.7:
	mov	x22, x0
	str	x22, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	ldr	w1, [x19, #4]
	cbz	w1, LBB0_12
; %bb.10:
Lloh16:
	adrp	x8, _si1133_threaded_irq_handler@GOTPAGE
Lloh17:
	ldr	x8, [x8, _si1133_threaded_irq_handler@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
Lloh19:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w4, w9, w8
	ldr	w5, [x19, #8]
	mov	x0, x19
	mov	x2, #0
	mov	x6, x20
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_13
; %bb.11:
	mov	x22, x0
	ldr	w2, [x19, #4]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x3, x22
	bl	_dev_warn
	b	LBB0_8
LBB0_12:
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_devm_iio_device_register
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_si1133_regmap_config,4,2       ; @si1133_regmap_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to initialise regmap: %d\n"

	.comm	_si1133_channels,4,2            ; @si1133_channels
	.comm	_si1133_info,4,2                ; @si1133_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
l_.str.1:                               ; @.str.1
	.asciz	"Error when initializing chip: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Required interrupt not provided, cannot proceed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_si1133_threaded_irq_handler,4,2 ; @si1133_threaded_irq_handler
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.3:                               ; @.str.3
	.asciz	"Request irq %d failed: %i\n"

	.no_dead_strip	_si1133_probe
.subsections_via_symbols
