	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm2835_finish_request
_bcm2835_finish_request:                ## @bcm2835_finish_request
	.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	%rdi, %rbx
	addq	$48, %rdi
	callq	_cancel_delayed_work
	movq	8(%rbx), %rdi
	movq	40(%rbx), %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, 32(%rbx)
	movq	$0, 8(%rbx)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	callq	_dmaengine_terminate_all
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
LBB0_3:
	movq	%rbx, %rdi
	callq	_mmc_from_priv
	movl	%eax, %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mmc_request_done               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to terminate DMA (%d)\n"

	.no_dead_strip	_bcm2835_finish_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm2835_finish_request
_bcm2835_finish_request:                ; @bcm2835_finish_request
	.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
	mov	x19, x0
	add	x0, x0, #48
	bl	_cancel_delayed_work
	ldr	x20, [x19, #40]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #16]
	ldr	x0, [x19, #8]
	str	xzr, [x19, #8]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_dmaengine_terminate_all
	cbz	w0, LBB0_3
; %bb.2:
	mov	x2, x0
	ldr	x0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_3:
	mov	x0, x19
	bl	_mmc_from_priv
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmc_request_done
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to terminate DMA (%d)\n"

	.no_dead_strip	_bcm2835_finish_request
.subsections_via_symbols
