	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adc081c_probe
_adc081c_probe:                         ## @adc081c_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, %rbx
	movq	%rdi, %r12
	movl	16(%rdi), %edi
	movq	_I2C_FUNC_SMBUS_WORD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%r12, %rdi
	callq	_ACPI_COMPANION
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_acpi_match_device
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rbx
LBB0_7:
	movq	_adcxx1c_models@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%rbx), %rbx
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r12, 8(%rax)
	movl	4(%r13,%rbx,8), %eax
	movl	%eax, 4(%r14)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regulator_get
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	(%r14), %edi
	testq	%rax, %rax
	je	LBB0_10
## %bb.19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	callq	_regulator_enable
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movq	%r12, 32(%r15)
	movl	(%r12), %eax
	movl	%eax, 24(%r15)
	movq	%r12, %rdi
	callq	_dev_name
	movl	%eax, 20(%r15)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_adc081c_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%r13,%rax,8), %eax
	movl	%eax, 4(%r15)
	movq	_ADC081C_NUM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_adc081c_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_iio_triggered_buffer_setup
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	movq	%r15, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	js	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_11:
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_13:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_17
LBB0_16:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_iio_triggered_buffer_cleanup
LBB0_17:
	movl	(%r14), %edi
	callq	_regulator_disable
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ## @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_adcxx1c_models,8,3             ## @adcxx1c_models
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vref"

	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_adc081c_info,4,2               ## @adc081c_info
	.comm	_ADC081C_NUM_CHANNELS,4,2       ## @ADC081C_NUM_CHANNELS
	.comm	_adc081c_trigger_handler,4,2    ## @adc081c_trigger_handler
L_.str.1:                               ## @.str.1
	.asciz	"iio triggered buffer setup failed\n"

	.no_dead_strip	_adc081c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adc081c_probe
_adc081c_probe:                         ; @adc081c_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_ACPI_COMPANION
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_acpi_match_device
	cbz	x0, LBB0_9
; %bb.3:
	mov	x20, x0
LBB0_4:
Lloh3:
	adrp	x8, _adcxx1c_models@GOTPAGE
Lloh4:
	ldr	x8, [x8, _adcxx1c_models@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x8]
	ldr	x24, [x20]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_8
; %bb.5:
	mov	x21, x0
	bl	_iio_priv
	mov	x20, x0
	str	x19, [x0, #8]
	add	x8, x23, x24, lsl #3
	ldr	w8, [x8, #4]
	str	w8, [x0, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	w0, [x20]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x20]
	cbz	x8, LBB0_12
; %bb.6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_7:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	_regulator_enable
	tbnz	w0, #31, LBB0_16
; %bb.13:
	str	x19, [x21, #32]
	ldr	w8, [x19]
	str	w8, [x21, #24]
	mov	x0, x19
	bl	_dev_name
Lloh14:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #16]
Lloh17:
	adrp	x8, _adc081c_info@GOTPAGE
Lloh18:
	ldr	x8, [x8, _adc081c_info@GOTPAGEOFF]
	str	x8, [x21, #8]
	lsl	x8, x24, #3
	ldr	w8, [x23, x8]
Lloh19:
	adrp	x9, _ADC081C_NUM_CHANNELS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ADC081C_NUM_CHANNELS@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [x21]
Lloh22:
	adrp	x8, _adc081c_trigger_handler@GOTPAGE
Lloh23:
	ldr	x8, [x8, _adc081c_trigger_handler@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, #0
	mov	x3, #0
	bl	_iio_triggered_buffer_setup
	tbnz	w0, #31, LBB0_17
; %bb.14:
	mov	x0, x21
	bl	_iio_device_register
	tbnz	w0, #31, LBB0_18
; %bb.15:
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	mov	w22, #0
	b	LBB0_11
LBB0_16:
	mov	x22, x0
	b	LBB0_11
LBB0_17:
	mov	x22, x0
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_19
LBB0_18:
	mov	x22, x0
	mov	x0, x21
	bl	_iio_triggered_buffer_cleanup
LBB0_19:
	ldr	w0, [x20]
	bl	_regulator_disable
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ; @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_adcxx1c_models,8,3             ; @adcxx1c_models
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vref"

	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_adc081c_info,4,2               ; @adc081c_info
	.comm	_ADC081C_NUM_CHANNELS,4,2       ; @ADC081C_NUM_CHANNELS
	.comm	_adc081c_trigger_handler,4,2    ; @adc081c_trigger_handler
l_.str.1:                               ; @.str.1
	.asciz	"iio triggered buffer setup failed\n"

	.no_dead_strip	_adc081c_probe
.subsections_via_symbols
