	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adc_jack_probe
_adc_jack_probe:                        ## @adc_jack_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	%rdi, %r12
	callq	_dev_get_platdata
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	32(%r15), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.2:
	movq	%rax, %r14
	movq	%r12, 56(%rax)
	movq	%r12, %rdi
	callq	_devm_extcon_dev_allocate
	movl	%eax, 32(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rsi
LBB0_6:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%rax, 48(%r14)
	movq	_EXTCON_NONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	$-1, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	leaq	8(%rax), %rsi
	cmpq	%rdx, (%rax)
	movq	%rsi, %rax
	jne	LBB0_11
## %bb.12:
	movl	%ecx, (%r14)
	movl	20(%r15), %esi
	movq	%r12, %rdi
	callq	_iio_channel_get
	movl	%eax, 40(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movl	40(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_14:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_15:
	movl	16(%r15), %edi
	callq	_msecs_to_jiffies
	movl	%eax, 36(%r14)
	movq	8(%r15), %rax
	movq	%rax, 24(%r14)
	movq	%r14, %r13
	addq	$16, %r13
	movq	_adc_jack_handler@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_INIT_DEFERRABLE_WORK
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movl	32(%r14), %esi
	movq	%r12, %rdi
	callq	_devm_extcon_dev_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.16:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	js	LBB0_21
## %bb.17:
	movq	_adc_jack_irq_thread@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	movq	%rax, %rdi
	movq	%r14, %r8
	callq	_request_any_context_irq
	testl	%eax, %eax
	js	LBB0_22
## %bb.18:
	cmpq	$0, 24(%r14)
	je	LBB0_20
## %bb.19:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_device_init_wakeup
LBB0_20:
	movq	%r13, %rdi
	callq	_adc_jack_handler
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_21:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_22:
	movl	%eax, %ebx
	movq	8(%r14), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error: cable_names not defined.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"failed to allocate extcon device\n"

L_.str.2:                               ## @.str.2
	.asciz	"error: adc_conditions not defined.\n"

	.comm	_EXTCON_NONE,8,3                ## @EXTCON_NONE
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_adc_jack_irq_thread,4,2        ## @adc_jack_irq_thread
L_.str.3:                               ## @.str.3
	.asciz	"error: irq %d\n"

	.no_dead_strip	_adc_jack_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adc_jack_probe
_adc_jack_probe:                        ; @adc_jack_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	x19, x0
	bl	_dev_get_platdata
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w1, [x21, #32]
	cbz	w1, LBB0_5
; %bb.2:
	mov	x20, x0
	str	x19, [x0, #56]
	mov	x0, x19
	bl	_devm_extcon_dev_allocate
	str	w0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.3:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_dev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_8:
	mov	x0, x23
	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
LBB0_9:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_14
; %bb.10:
	str	x8, [x20, #48]
Lloh11:
	adrp	x9, _EXTCON_NONE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EXTCON_NONE@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x9]
	mov	w9, #-1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8], #8
	add	w9, w9, #1
	cmp	x11, x10
	b.ne	LBB0_11
; %bb.12:
	str	w9, [x20]
	ldr	w1, [x21, #20]
	mov	x0, x19
	bl	_iio_channel_get
	str	w0, [x20, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.13:
	ldr	w0, [x20, #40]
	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	_PTR_ERR
LBB0_14:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_15:
	ldr	w0, [x21, #16]
	bl	_msecs_to_jiffies
	str	w0, [x20, #36]
	ldr	x8, [x21, #8]
	str	x8, [x20, #24]
	add	x22, x20, #16
Lloh16:
	adrp	x1, _adc_jack_handler@GOTPAGE
Lloh17:
	ldr	x1, [x1, _adc_jack_handler@GOTPAGEOFF]
	mov	x0, x22
	bl	_INIT_DEFERRABLE_WORK
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	w1, [x20, #32]
	mov	x0, x19
	bl	_devm_extcon_dev_register
	mov	x23, x0
	cbnz	w0, LBB0_8
; %bb.16:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x20, #8]
	tbnz	x0, #63, LBB0_21
; %bb.17:
Lloh18:
	adrp	x8, _adc_jack_irq_thread@GOTPAGE
Lloh19:
	ldr	x8, [x8, _adc_jack_irq_thread@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldp	w3, w2, [x21]
	mov	x4, x20
	bl	_request_any_context_irq
	tbnz	w0, #31, LBB0_22
; %bb.18:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_20
; %bb.19:
	mov	x0, x19
	mov	w1, #1
	bl	_device_init_wakeup
LBB0_20:
	mov	x0, x22
	bl	_adc_jack_handler
	mov	w23, #0
	b	LBB0_8
LBB0_21:
Lloh21:
	adrp	x8, _ENODEV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_22:
	mov	x23, x0
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error: cable_names not defined.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"failed to allocate extcon device\n"

l_.str.2:                               ; @.str.2
	.asciz	"error: adc_conditions not defined.\n"

	.comm	_EXTCON_NONE,8,3                ; @EXTCON_NONE
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_adc_jack_irq_thread,4,2        ; @adc_jack_irq_thread
l_.str.3:                               ; @.str.3
	.asciz	"error: irq %d\n"

	.no_dead_strip	_adc_jack_probe
.subsections_via_symbols
