	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_setup_wakeup_frame
_jme_setup_wakeup_frame:                ## @jme_setup_wakeup_frame
	.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
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_JME_WFOI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WFOI_CRC_SEL@GOTPCREL(%rip), %rax
	movq	_WFOI_FRAME_SEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r15d, %edx
	orl	(%rax), %edx
	callq	_jwrite32
	xorl	%eax, %eax
	callq	_wmb
	movq	_JME_WFODP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_jwrite32
	xorl	%eax, %eax
	callq	_wmb
	movq	_WAKEUP_FRAME_MASK_DWNR@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_WFOI_MASK_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	%r13d, %eax
	shll	%cl, %eax
	movq	_WFOI_MASK_SEL@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_JME_WFOI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_WFOI_FRAME_SEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r15d, %edx
	orl	%eax, %edx
	movq	%rbx, %rdi
	callq	_jwrite32
	xorl	%eax, %eax
	callq	_wmb
	movq	_JME_WFODP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14,%r13,4), %edx
	movq	%rbx, %rdi
	callq	_jwrite32
	xorl	%eax, %eax
	callq	_wmb
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JME_WFOI,4,2                   ## @JME_WFOI
	.comm	_WFOI_CRC_SEL,4,2               ## @WFOI_CRC_SEL
	.comm	_WFOI_FRAME_SEL,4,2             ## @WFOI_FRAME_SEL
	.comm	_JME_WFODP,4,2                  ## @JME_WFODP
	.comm	_WAKEUP_FRAME_MASK_DWNR,4,2     ## @WAKEUP_FRAME_MASK_DWNR
	.comm	_WFOI_MASK_SHIFT,4,2            ## @WFOI_MASK_SHIFT
	.comm	_WFOI_MASK_SEL,4,2              ## @WFOI_MASK_SEL
	.no_dead_strip	_jme_setup_wakeup_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_setup_wakeup_frame
_jme_setup_wakeup_frame:                ; @jme_setup_wakeup_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _JME_WFOI@GOTPAGE
Lloh1:
	ldr	x23, [x23, _JME_WFOI@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x8, _WFOI_CRC_SEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WFOI_CRC_SEL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x24, _WFOI_FRAME_SEL@GOTPAGE
Lloh6:
	ldr	x24, [x24, _WFOI_FRAME_SEL@GOTPAGEOFF]
	ldr	w9, [x24]
	and	w9, w9, w3
	orr	w2, w9, w8
	bl	_jwrite32
	bl	_wmb
Lloh7:
	adrp	x25, _JME_WFODP@GOTPAGE
Lloh8:
	ldr	x25, [x25, _JME_WFODP@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x21
	mov	x2, x22
	bl	_jwrite32
	bl	_wmb
Lloh9:
	adrp	x22, _WAKEUP_FRAME_MASK_DWNR@GOTPAGE
Lloh10:
	ldr	x22, [x22, _WAKEUP_FRAME_MASK_DWNR@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x26, #0
Lloh11:
	adrp	x27, _WFOI_MASK_SHIFT@GOTPAGE
Lloh12:
	ldr	x27, [x27, _WFOI_MASK_SHIFT@GOTPAGEOFF]
Lloh13:
	adrp	x28, _WFOI_MASK_SEL@GOTPAGE
Lloh14:
	ldr	x28, [x28, _WFOI_MASK_SEL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	ldr	w8, [x27]
	lsl	w8, w26, w8
	ldr	w9, [x28]
	and	w8, w8, w9
	ldr	w9, [x24]
	and	w9, w9, w19
	orr	w2, w9, w8
	mov	x0, x21
	bl	_jwrite32
	bl	_wmb
	ldr	w1, [x25]
	ldr	w2, [x20, x26, lsl #2]
	mov	x0, x21
	bl	_jwrite32
	bl	_wmb
	add	x26, x26, #1
	ldrsw	x8, [x22]
	cmp	x26, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_JME_WFOI,4,2                   ; @JME_WFOI
	.comm	_WFOI_CRC_SEL,4,2               ; @WFOI_CRC_SEL
	.comm	_WFOI_FRAME_SEL,4,2             ; @WFOI_FRAME_SEL
	.comm	_JME_WFODP,4,2                  ; @JME_WFODP
	.comm	_WAKEUP_FRAME_MASK_DWNR,4,2     ; @WAKEUP_FRAME_MASK_DWNR
	.comm	_WFOI_MASK_SHIFT,4,2            ; @WFOI_MASK_SHIFT
	.comm	_WFOI_MASK_SEL,4,2              ; @WFOI_MASK_SEL
	.no_dead_strip	_jme_setup_wakeup_frame
.subsections_via_symbols
