	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function palmas_usb_wakeup
_palmas_usb_wakeup:                     ## @palmas_usb_wakeup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %ecx
	movq	_PALMAS_USB_OTG_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PALMAS_USB_WAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_PALMAS_USB_WAKEUP_ID_WK_UP_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	popq	%rbp
	jmp	_palmas_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PALMAS_USB_OTG_BASE,4,2        ## @PALMAS_USB_OTG_BASE
	.comm	_PALMAS_USB_WAKEUP,4,2          ## @PALMAS_USB_WAKEUP
	.comm	_PALMAS_USB_WAKEUP_ID_WK_UP_COMP,4,2 ## @PALMAS_USB_WAKEUP_ID_WK_UP_COMP
	.no_dead_strip	_palmas_usb_wakeup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function palmas_usb_wakeup
_palmas_usb_wakeup:                     ; @palmas_usb_wakeup
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PALMAS_USB_OTG_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PALMAS_USB_OTG_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PALMAS_USB_WAKEUP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PALMAS_USB_WAKEUP@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x9, _PALMAS_USB_WAKEUP_ID_WK_UP_COMP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PALMAS_USB_WAKEUP_ID_WK_UP_COMP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w1, #0
	csel	w3, wzr, w9, eq
	mov	x1, x8
	b	_palmas_write
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PALMAS_USB_OTG_BASE,4,2        ; @PALMAS_USB_OTG_BASE
	.comm	_PALMAS_USB_WAKEUP,4,2          ; @PALMAS_USB_WAKEUP
	.comm	_PALMAS_USB_WAKEUP_ID_WK_UP_COMP,4,2 ; @PALMAS_USB_WAKEUP_ID_WK_UP_COMP
	.no_dead_strip	_palmas_usb_wakeup
.subsections_via_symbols
