	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max3355_id_irq
_max3355_id_irq:                        ## @max3355_id_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	4(%rsi), %edi
	callq	_gpiod_get_value_cansleep
	testl	%eax, %eax
	movq	_EXTCON_USB@GOTPCREL(%rip), %rbx
	movq	_EXTCON_USB_HOST@GOTPCREL(%rip), %rax
	movq	%rax, %rcx
	cmoveq	%rbx, %rcx
	movl	(%r14), %edi
	movl	(%rcx), %esi
	cmoveq	%rax, %rbx
	xorl	%edx, %edx
	callq	_extcon_set_state_sync
	movl	(%r14), %edi
	movl	(%rbx), %esi
	movl	$1, %edx
	callq	_extcon_set_state_sync
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXTCON_USB_HOST,4,2            ## @EXTCON_USB_HOST
	.comm	_EXTCON_USB,4,2                 ## @EXTCON_USB
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_max3355_id_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max3355_id_irq
_max3355_id_irq:                        ; @max3355_id_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	w0, [x1, #4]
	bl	_gpiod_get_value_cansleep
Lloh0:
	adrp	x9, _EXTCON_USB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXTCON_USB@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x10, _EXTCON_USB_HOST@GOTPAGE
Lloh3:
	ldr	x10, [x10, _EXTCON_USB_HOST@GOTPAGEOFF]
	cmp	w0, #0
	csel	x11, x9, x10, eq
	ldr	w1, [x11]
	csel	x20, x10, x9, eq
	mov	x0, x8
	mov	w2, #0
	bl	_extcon_set_state_sync
	ldr	w0, [x19]
	ldr	w1, [x20]
	mov	w2, #1
	bl	_extcon_set_state_sync
Lloh4:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTCON_USB_HOST,4,2            ; @EXTCON_USB_HOST
	.comm	_EXTCON_USB,4,2                 ; @EXTCON_USB
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_max3355_id_irq
.subsections_via_symbols
