	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brd_do_bvec
_brd_do_bvec:                           ## @brd_do_bvec
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%r8d, %r14d
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_READ@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_copy_to_brd_setup
	testl	%eax, %eax
	jne	LBB0_6
LBB0_2:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movq	_KM_USER0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_kmap_atomic
	movq	%rax, %r13
	movq	_READ@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	%r13, %rdi
	addq	%rax, %rdi
	movq	%r12, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_copy_from_brd
	movq	%r15, %rdi
	callq	_flush_dcache_page
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	callq	_flush_dcache_page
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	%r13, %rsi
	addq	%rax, %rsi
	movq	%r12, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_copy_to_brd
LBB0_5:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_kunmap_atomic
	xorl	%eax, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ,4,2                       ## @READ
	.comm	_KM_USER0,4,2                   ## @KM_USER0
	.no_dead_strip	_brd_do_bvec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brd_do_bvec
_brd_do_bvec:                           ; @brd_do_bvec
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x25, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x27, _READ@GOTPAGE
Lloh1:
	ldr	x27, [x27, _READ@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, w4
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_copy_to_brd_setup
	cbnz	w0, LBB0_6
LBB0_2:
Lloh2:
	adrp	x26, _KM_USER0@GOTPAGE
Lloh3:
	ldr	x26, [x26, _KM_USER0@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x21
	bl	_kmap_atomic
	mov	x24, x0
	ldr	w8, [x27]
	cmp	w8, w25
	b.ne	LBB0_4
; %bb.3:
	add	x0, x24, w23, uxtw
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_copy_from_brd
	mov	x0, x21
	bl	_flush_dcache_page
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	bl	_flush_dcache_page
	add	x1, x24, w23, uxtw
	mov	x0, x22
	mov	x2, x19
	mov	x3, x20
	bl	_copy_to_brd
LBB0_5:
	ldr	w1, [x26]
	mov	x0, x24
	bl	_kunmap_atomic
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_READ,4,2                       ; @READ
	.comm	_KM_USER0,4,2                   ; @KM_USER0
	.no_dead_strip	_brd_do_bvec
.subsections_via_symbols
