	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _emit_LP
__emit_LP:                              ## @_emit_LP
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	movq	_CMD_DMALP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, %edi
	orl	$2, %edi
	xorl	%eax, %eax
	testl	%edx, %edx
	sete	%al
	cmovel	%r8d, %edi
	movl	%edi, (%rsi)
	decl	%ecx
	movl	%ecx, 4(%rsi)
	movq	_SZ_DMALP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	xorl	$49, %eax
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_PL330_DBGCMD_DUMP
LBB0_2:
	movq	_SZ_DMALP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_DMALP,4,2                   ## @SZ_DMALP
	.comm	_CMD_DMALP,4,2                  ## @CMD_DMALP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tDMALP_%c %u\n"

	.no_dead_strip	__emit_LP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _emit_LP
__emit_LP:                              ; @_emit_LP
	.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
Lloh0:
	adrp	x19, _SZ_DMALP@GOTPAGE
Lloh1:
	ldr	x19, [x19, _SZ_DMALP@GOTPAGEOFF]
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _CMD_DMALP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMD_DMALP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w9, w8, #0x2
	sub	w3, w3, #1
	cmp	w2, #0
	csel	w8, w8, w9, eq
	stp	w8, w3, [x1]
	ldr	w0, [x19]
	mov	w8, #48
	cinc	w2, w8, ne
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PL330_DBGCMD_DUMP
LBB0_2:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_DMALP,4,2                   ; @SZ_DMALP
	.comm	_CMD_DMALP,4,2                  ; @CMD_DMALP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tDMALP_%c %u\n"

	.no_dead_strip	__emit_LP
.subsections_via_symbols
