	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dreq1_do
_dreq1_do:                              ## @dreq1_do
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edx
	testl	$49928, %edx                    ## imm = 0xC308
	je	LBB0_2
## %bb.1:
	movq	_EL_32XP@GOTPCREL(%rip), %rax
	movq	_EL_ANOMALY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elprintf
LBB0_2:
	movl	4(%rbx), %edx
	movl	%edx, %eax
	andl	$-16, %eax
	cmpl	$536887344, %eax                ## imm = 0x20004030
	je	LBB0_4
## %bb.3:
	movq	_EL_32XP@GOTPCREL(%rip), %rax
	movq	_EL_ANOMALY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elprintf
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dmac_transfer_one
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dmac_transfer_complete         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EL_32XP,4,2                    ## @EL_32XP
	.comm	_EL_ANOMALY,4,2                 ## @EL_ANOMALY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dreq1: bad control: %04x"

L_.str.1:                               ## @.str.1
	.asciz	"dreq1: bad dar?: %08x\n"

	.no_dead_strip	_dreq1_do
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dreq1_do
_dreq1_do:                              ; @dreq1_do
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w2, [x1]
	mov	w8, #49928
Lloh0:
	adrp	x21, _EL_32XP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EL_32XP@GOTPAGEOFF]
Lloh2:
	adrp	x22, _EL_ANOMALY@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EL_ANOMALY@GOTPAGEOFF]
	tst	w2, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w0, w9, w8
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elprintf
LBB0_2:
	ldr	w2, [x19, #4]
	mov	w8, #1027
	movk	w8, #512, lsl #16
	cmp	w8, w2, lsr #4
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w0, w9, w8
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elprintf
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_dmac_transfer_one
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
	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
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	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	_dmac_transfer_complete
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EL_32XP,4,2                    ; @EL_32XP
	.comm	_EL_ANOMALY,4,2                 ; @EL_ANOMALY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dreq1: bad control: %04x"

l_.str.1:                               ; @.str.1
	.asciz	"dreq1: bad dar?: %08x\n"

	.no_dead_strip	_dreq1_do
.subsections_via_symbols
