	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p32x_dreq0_trigger             ## -- Begin function p32x_dreq0_trigger
	.p2align	4, 0x90
_p32x_dreq0_trigger:                    ## @p32x_dreq0_trigger
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_msh2@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_ssh2@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_EL_32XP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elprintf
	movq	_DMA_DME@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, 384(%rbx)
	je	LBB0_3
## %bb.1:
	movq	392(%rbx), %rsi
	movl	(%rsi), %ecx
	andl	$3, %ecx
	movq	_DMA_DE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_3
## %bb.2:
	movq	_msh2@GOTPCREL(%rip), %rdi
	callq	_dreq0_do
	movl	(%r14), %eax
LBB0_3:
	testl	%eax, 384(%r15)
	je	LBB0_5
## %bb.4:
	movq	392(%r15), %rsi
	movl	(%rsi), %eax
	andl	$3, %eax
	movq	_DMA_DE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.6:
	movq	_ssh2@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dreq0_do                       ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_msh2,8,3                       ## @msh2
	.comm	_ssh2,8,3                       ## @ssh2
	.comm	_EL_32XP,4,2                    ## @EL_32XP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dreq0_trigger"

	.comm	_DMA_DME,4,2                    ## @DMA_DME
	.comm	_DMA_DE,4,2                     ## @DMA_DE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p32x_dreq0_trigger             ; -- Begin function p32x_dreq0_trigger
	.p2align	2
_p32x_dreq0_trigger:                    ; @p32x_dreq0_trigger
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _msh2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _msh2@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x8, _ssh2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ssh2@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x8]
Lloh6:
	adrp	x8, _EL_32XP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EL_32XP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elprintf
	ldr	w9, [x22, #384]
Lloh11:
	adrp	x21, _DMA_DME@GOTPAGE
Lloh12:
	ldr	x21, [x21, _DMA_DME@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh13:
	adrp	x20, _DMA_DE@GOTPAGE
Lloh14:
	ldr	x20, [x20, _DMA_DE@GOTPAGEOFF]
	tst	w8, w9
	b.eq	LBB0_3
; %bb.1:
	ldr	x1, [x22, #392]
	ldr	w9, [x1]
	and	w9, w9, #0x3
	ldr	w10, [x20]
	cmp	w9, w10
	b.ne	LBB0_3
; %bb.2:
Lloh15:
	adrp	x0, _msh2@GOTPAGE
Lloh16:
	ldr	x0, [x0, _msh2@GOTPAGEOFF]
	bl	_dreq0_do
	ldr	w8, [x21]
LBB0_3:
	ldr	w9, [x19, #384]
	tst	w8, w9
	b.eq	LBB0_6
; %bb.4:
	ldr	x1, [x19, #392]
	ldr	w8, [x1]
	and	w8, w8, #0x3
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
Lloh17:
	adrp	x0, _ssh2@GOTPAGE
Lloh18:
	ldr	x0, [x0, _ssh2@GOTPAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dreq0_do
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_msh2,8,3                       ; @msh2
	.comm	_ssh2,8,3                       ; @ssh2
	.comm	_EL_32XP,4,2                    ; @EL_32XP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dreq0_trigger"

	.comm	_DMA_DME,4,2                    ; @DMA_DME
	.comm	_DMA_DE,4,2                     ; @DMA_DE
.subsections_via_symbols
