	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axp288_get_id_pin
_axp288_get_id_pin:                     ## @axp288_get_id_pin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_EXTCON_USB_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_extcon_get_state
	testq	%rax, %rax
	setle	%al
	jmp	LBB0_3
LBB0_2:
	movl	(%rax), %edi
	callq	_usb_role_switch_get_role
	movq	_USB_ROLE_HOST@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setne	%al
LBB0_3:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXTCON_USB_HOST,4,2            ## @EXTCON_USB_HOST
	.comm	_USB_ROLE_HOST,4,2              ## @USB_ROLE_HOST
	.no_dead_strip	_axp288_get_id_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axp288_get_id_pin
_axp288_get_id_pin:                     ; @axp288_get_id_pin
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EXTCON_USB_HOST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXTCON_USB_HOST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_extcon_get_state
	cmp	x0, #1
	cset	w0, lt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x8]
	bl	_usb_role_switch_get_role
Lloh3:
	adrp	x8, _USB_ROLE_HOST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB_ROLE_HOST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTCON_USB_HOST,4,2            ; @EXTCON_USB_HOST
	.comm	_USB_ROLE_HOST,4,2              ; @USB_ROLE_HOST
	.no_dead_strip	_axp288_get_id_pin
.subsections_via_symbols
