	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int3496_probe
_int3496_probe:                         ## @int3496_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_acpi_int3496_default_gpios@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_devm_acpi_dev_add_driver_gpios
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_14
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movq	%rax, %r14
	movq	%r12, 40(%rax)
	movq	%rax, %r15
	addq	$4, %r15
	movq	_int3496_do_usb_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_DELAYED_WORK
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	32(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
LBB0_5:
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_14
LBB0_7:
	callq	_gpiod_to_irq
	movl	%eax, (%r14)
	testl	%eax, %eax
	js	LBB0_15
## %bb.8:
	movq	_GPIOD_ASIS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
LBB0_10:
	movl	(%rbx), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
LBB0_12:
	movq	_int3496_cable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_devm_extcon_dev_allocate
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	(%r14), %ebx
	jmp	LBB0_14
LBB0_16:
	movq	8(%r14), %rsi
	movq	%r12, %rdi
	callq	_devm_extcon_dev_register
	testl	%eax, %eax
	js	LBB0_19
## %bb.17:
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rax), %r13d
	movq	_int3496_thread_isr@GOTPCREL(%rip), %rax
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r13d
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_dev_name
	movq	%r14, (%rsp)
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%eax, %r9d
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_20
## %bb.18:
	movq	_system_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_queue_delayed_work
	movq	%r15, %rdi
	callq	_flush_delayed_work
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	jmp	LBB0_14
LBB0_19:
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_5
LBB0_20:
	movl	%eax, %r13d
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r13d, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_acpi_int3496_default_gpios,4,2 ## @acpi_int3496_default_gpios
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't add GPIO ACPI mapping\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_int3496_do_usb_id,4,2          ## @int3496_do_usb_id
L_.str.1:                               ## @.str.1
	.asciz	"id"

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
L_.str.2:                               ## @.str.2
	.asciz	"can't request USB ID GPIO: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"can't get USB ID IRQ: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"vbus"

	.comm	_GPIOD_ASIS,4,2                 ## @GPIOD_ASIS
L_.str.5:                               ## @.str.5
	.asciz	"can't request VBUS EN GPIO\n"

L_.str.6:                               ## @.str.6
	.asciz	"mux"

L_.str.7:                               ## @.str.7
	.asciz	"can't request USB MUX GPIO\n"

	.comm	_int3496_cable,4,2              ## @int3496_cable
L_.str.8:                               ## @.str.8
	.asciz	"can't register extcon device: %d\n"

	.comm	_int3496_thread_isr,4,2         ## @int3496_thread_isr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
L_.str.9:                               ## @.str.9
	.asciz	"can't request IRQ for USB ID GPIO: %d\n"

	.comm	_system_wq,4,2                  ## @system_wq
	.no_dead_strip	_int3496_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int3496_probe
_int3496_probe:                         ; @int3496_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
Lloh0:
	adrp	x8, _acpi_int3496_default_gpios@GOTPAGE
Lloh1:
	ldr	x8, [x8, _acpi_int3496_default_gpios@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_devm_acpi_dev_add_driver_gpios
	cbz	w0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	bl	_dev_err
LBB0_3:
	mov	x0, 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
	ret
LBB0_4:
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_13
; %bb.5:
	mov	x20, x0
	str	x19, [x0, #40]
	add	x21, x0, #4
Lloh8:
	adrp	x8, _int3496_do_usb_id@GOTPAGE
Lloh9:
	ldr	x8, [x8, _int3496_do_usb_id@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_DELAYED_WORK
Lloh11:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #32]
	cbz	x8, LBB0_7
; %bb.6:
	bl	_PTR_ERR
	mov	x20, x0
	str	x20, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_7:
	bl	_gpiod_to_irq
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x20]
	tbnz	w0, #31, LBB0_14
; %bb.8:
Lloh18:
	adrp	x22, _GPIOD_ASIS@GOTPAGE
Lloh19:
	ldr	x22, [x22, _GPIOD_ASIS@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_10:
	ldr	w2, [x22]
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.11:
Lloh26:
	adrp	x1, l_.str.7@PAGE
Lloh27:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_12:
Lloh28:
	adrp	x8, _int3496_cable@GOTPAGE
Lloh29:
	ldr	x8, [x8, _int3496_cable@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_devm_extcon_dev_allocate
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_15
LBB0_13:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_3
LBB0_14:
	str	x0, [sp]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w20, [x20]
	b	LBB0_3
LBB0_15:
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_devm_extcon_dev_register
	tbnz	w0, #31, LBB0_18
; %bb.16:
	ldr	w22, [x20]
Lloh36:
	adrp	x8, _int3496_thread_isr@GOTPAGE
Lloh37:
	ldr	x8, [x8, _int3496_thread_isr@GOTPAGEOFF]
Lloh38:
	ldr	w23, [x8]
Lloh39:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh45:
	adrp	x9, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh46:
	ldr	x9, [x9, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh48:
	adrp	x9, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh49:
	ldr	x9, [x9, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w24, w8, w9
	mov	x0, x19
	bl	_dev_name
	mov	x5, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	mov	x3, x23
	mov	x4, x24
	mov	x6, x20
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_19
; %bb.17:
Lloh51:
	adrp	x8, _system_wq@GOTPAGE
Lloh52:
	ldr	x8, [x8, _system_wq@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	mov	x1, x21
	mov	w2, #0
	bl	_queue_delayed_work
	mov	x0, x21
	bl	_flush_delayed_work
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	w20, #0
	b	LBB0_3
LBB0_18:
	mov	x22, x0
	str	x22, [sp]
Lloh54:
	adrp	x1, l_.str.8@PAGE
Lloh55:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_20
LBB0_19:
	mov	x22, x0
	str	x22, [sp]
Lloh56:
	adrp	x1, l_.str.9@PAGE
Lloh57:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_20:
	mov	x0, x19
	bl	_dev_err
	mov	x20, x22
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_acpi_int3496_default_gpios,4,2 ; @acpi_int3496_default_gpios
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't add GPIO ACPI mapping\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_int3496_do_usb_id,4,2          ; @int3496_do_usb_id
l_.str.1:                               ; @.str.1
	.asciz	"id"

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
l_.str.2:                               ; @.str.2
	.asciz	"can't request USB ID GPIO: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"can't get USB ID IRQ: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"vbus"

	.comm	_GPIOD_ASIS,4,2                 ; @GPIOD_ASIS
l_.str.5:                               ; @.str.5
	.asciz	"can't request VBUS EN GPIO\n"

l_.str.6:                               ; @.str.6
	.asciz	"mux"

l_.str.7:                               ; @.str.7
	.asciz	"can't request USB MUX GPIO\n"

	.comm	_int3496_cable,4,2              ; @int3496_cable
l_.str.8:                               ; @.str.8
	.asciz	"can't register extcon device: %d\n"

	.comm	_int3496_thread_isr,4,2         ; @int3496_thread_isr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
l_.str.9:                               ; @.str.9
	.asciz	"can't request IRQ for USB ID GPIO: %d\n"

	.comm	_system_wq,4,2                  ; @system_wq
	.no_dead_strip	_int3496_probe
.subsections_via_symbols
