	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mb1232_probe
_mb1232_probe:                          ## @mb1232_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_I2C_FUNC_SMBUS_READ_BYTE@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_WRITE_BYTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	movq	%rbx, 16(%r13)
	movq	_mb1232_info@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r12)
	movl	(%r15), %eax
	movl	%eax, 24(%r12)
	movq	%r14, 16(%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	_mb1232_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 4(%r12)
	callq	_ARRAY_SIZE
	movl	%eax, (%r12)
	leaq	8(%r13), %rdi
	callq	_mutex_init
	leaq	4(%r13), %rdi
	callq	_init_completion
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, (%r13)
	testl	%eax, %eax
	jle	LBB0_6
## %bb.9:
	movq	_mb1232_handle_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%r15), %r8d
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r12, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jns	LBB0_7
## %bb.10:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_11
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$-1, (%r13)
LBB0_7:
	movq	_iio_pollfunc_store_time@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mb1232_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_devm_iio_triggered_buffer_setup
	testl	%eax, %eax
	js	LBB0_8
## %bb.12:
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
LBB0_8:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ## @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE,4,2  ## @I2C_FUNC_SMBUS_WRITE_BYTE
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mb1232_info,4,2                ## @mb1232_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_mb1232_channels,4,2            ## @mb1232_channels
	.comm	_mb1232_handle_irq,4,2          ## @mb1232_handle_irq
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request_irq: %d\n"

	.comm	_iio_pollfunc_store_time,4,2    ## @iio_pollfunc_store_time
	.comm	_mb1232_trigger_handler,4,2     ## @mb1232_trigger_handler
L_.str.1:                               ## @.str.1
	.asciz	"setup of iio triggered buffer failed\n"

	.no_dead_strip	_mb1232_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mb1232_probe
_mb1232_probe:                          ; @mb1232_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x22, x0
	mov	x19, x0
	ldr	w0, [x19], #4
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_FUNC_SMBUS_WRITE_BYTE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_WRITE_BYTE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_i2c_check_functionality
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	w1, #24
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	bl	_iio_priv
	mov	x23, x0
	mov	x0, x22
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x22, [x23, #16]
Lloh6:
	adrp	x8, _mb1232_info@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mb1232_info@GOTPAGEOFF]
	str	x8, [x20, #32]
	ldr	w8, [x21]
	str	w8, [x20, #24]
	str	x19, [x20, #16]
Lloh8:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _mb1232_channels@GOTPAGE
Lloh12:
	ldr	x9, [x9, _mb1232_channels@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
	stp	w0, w8, [x20, #4]
	bl	_ARRAY_SIZE
	str	w0, [x20]
	add	x0, x23, #8
	bl	_mutex_init
	add	x0, x23, #4
	bl	_init_completion
	ldr	w0, [x22, #4]
	mov	w1, #0
	bl	_irq_of_parse_and_map
	str	w0, [x23]
	cmp	w0, #0
	b.le	LBB0_8
; %bb.3:
	mov	x1, x0
Lloh14:
	adrp	x8, _mb1232_handle_irq@GOTPAGE
Lloh15:
	ldr	x8, [x8, _mb1232_handle_irq@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	ldr	w4, [x21]
	mov	x0, x19
	mov	x5, x20
	bl	_devm_request_irq
	tbz	w0, #31, LBB0_9
; %bb.4:
	mov	x21, x0
	str	x21, [sp]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_5:
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_8:
	mov	w8, #-1
	str	w8, [x23]
LBB0_9:
Lloh26:
	adrp	x8, _iio_pollfunc_store_time@GOTPAGE
Lloh27:
	ldr	x8, [x8, _iio_pollfunc_store_time@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _mb1232_trigger_handler@GOTPAGE
Lloh30:
	ldr	x8, [x8, _mb1232_trigger_handler@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x4, #0
	bl	_devm_iio_triggered_buffer_setup
	tbnz	w0, #31, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_devm_iio_device_register
LBB0_11:
	mov	x21, x0
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	_dev_err
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ; @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE,4,2  ; @I2C_FUNC_SMBUS_WRITE_BYTE
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mb1232_info,4,2                ; @mb1232_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_mb1232_channels,4,2            ; @mb1232_channels
	.comm	_mb1232_handle_irq,4,2          ; @mb1232_handle_irq
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request_irq: %d\n"

	.comm	_iio_pollfunc_store_time,4,2    ; @iio_pollfunc_store_time
	.comm	_mb1232_trigger_handler,4,2     ; @mb1232_trigger_handler
l_.str.1:                               ; @.str.1
	.asciz	"setup of iio triggered buffer failed\n"

	.no_dead_strip	_mb1232_probe
.subsections_via_symbols
