	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm2835_finish_data
_bcm2835_finish_data:                   ## @bcm2835_finish_data
	.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	%rdi, %rbx
	movq	24(%rdi), %r15
	movq	32(%rdi), %r14
	movq	_SDHCFG_DATA_IRPT_EN@GOTPCREL(%rip), %rax
	movq	_SDHCFG_BLOCK_IRPT_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	notl	%edi
	andl	(%rbx), %edi
	movl	%edi, (%rbx)
	movq	_SDHCFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	xorl	%eax, %eax
	cmpq	$0, 16(%r15)
	jne	LBB0_2
## %bb.1:
	movl	8(%r15), %eax
	imull	4(%r15), %eax
LBB0_2:
	movl	%eax, (%r15)
	movl	$1, 4(%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_SDHSTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bcm2835_transfer_complete      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCFG_DATA_IRPT_EN,4,2        ## @SDHCFG_DATA_IRPT_EN
	.comm	_SDHCFG_BLOCK_IRPT_EN,4,2       ## @SDHCFG_BLOCK_IRPT_EN
	.comm	_SDHCFG,8,3                     ## @SDHCFG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Finished early - HSTS %08x\n"

	.comm	_SDHSTS,8,3                     ## @SDHSTS
	.no_dead_strip	_bcm2835_finish_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm2835_finish_data
_bcm2835_finish_data:                   ; @bcm2835_finish_data
	.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	x20, x0
	ldp	x21, x19, [x0, #24]
Lloh0:
	adrp	x8, _SDHCFG_DATA_IRPT_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDHCFG_DATA_IRPT_EN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SDHCFG_BLOCK_IRPT_EN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDHCFG_BLOCK_IRPT_EN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x0]
	bic	w0, w9, w8
	str	w0, [x20]
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _SDHCFG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SDHCFG@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_3
LBB0_2:
	ldp	w8, w9, [x21, #4]
	mul	w8, w9, w8
LBB0_3:
	str	w8, [x21]
	mov	w8, #1
	str	w8, [x20, #4]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x20, #8]
Lloh9:
	adrp	x9, _SDHSTS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SDHSTS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, 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	_dev_dbg
LBB0_5:
	mov	x0, x20
	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	_bcm2835_transfer_complete
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCFG_DATA_IRPT_EN,4,2        ; @SDHCFG_DATA_IRPT_EN
	.comm	_SDHCFG_BLOCK_IRPT_EN,4,2       ; @SDHCFG_BLOCK_IRPT_EN
	.comm	_SDHCFG,8,3                     ; @SDHCFG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Finished early - HSTS %08x\n"

	.comm	_SDHSTS,8,3                     ; @SDHSTS
	.no_dead_strip	_bcm2835_finish_data
.subsections_via_symbols
