	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function src_mgr_commit_write
_src_mgr_commit_write:                  ## @src_mgr_commit_write
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpq	$0, 8(%rsi)
	je	LBB0_4
## %bb.1:
	movq	_SRCENBSTAT@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_hw_read_20kx
	testb	$1, %al
	jne	LBB0_2
## %bb.3:
	movq	_SRCENBS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	24(%r15), %edx
	movq	%r14, %rdi
	callq	_hw_write_20kx
	movq	$0, 8(%r15)
LBB0_4:
	movl	(%r15), %eax
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	addq	$256, %r12                      ## imm = 0x100
	cmpq	$8, %rbx
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %r13d
	movl	%ebx, %ecx
	shll	%cl, %r13d
	btl	%ebx, %eax
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_SRCENB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	callq	_hw_write_20kx
	notl	%r13d
	andl	(%r15), %r13d
	movl	%r13d, (%r15)
	movl	%r13d, %eax
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SRCENBSTAT,4,2                 ## @SRCENBSTAT
	.comm	_SRCENBS,8,3                    ## @SRCENBS
	.comm	_SRCENB,8,3                     ## @SRCENB
	.no_dead_strip	_src_mgr_commit_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function src_mgr_commit_write
_src_mgr_commit_write:                  ; @src_mgr_commit_write
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x21, _SRCENBSTAT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SRCENBSTAT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	bl	_hw_read_20kx
	tbnz	w0, #0, LBB0_2
; %bb.3:
Lloh2:
	adrp	x8, _SRCENBS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SRCENBS@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x8]
	ldr	w2, [x19, #24]
	mov	x0, x20
	bl	_hw_write_20kx
	str	xzr, [x19, #8]
LBB0_4:
	mov	x21, #0
	mov	x22, #0
	ldr	w8, [x19]
	mov	w23, #1
Lloh5:
	adrp	x24, _SRCENB@GOTPAGE
Lloh6:
	ldr	x24, [x24, _SRCENB@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	add	x21, x21, #256
	cmp	x22, #8
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w25, w23, w22
	tst	w8, w25
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	add	x1, x21, x8
	ldr	x8, [x19, #16]
	ldr	w2, [x8, x22, lsl #2]
	mov	x0, x20
	bl	_hw_write_20kx
	ldr	w8, [x19]
	bic	w8, w8, w25
	str	w8, [x19]
	b	LBB0_5
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SRCENBSTAT,4,2                 ; @SRCENBSTAT
	.comm	_SRCENBS,8,3                    ; @SRCENBS
	.comm	_SRCENB,8,3                     ; @SRCENB
	.no_dead_strip	_src_mgr_commit_write
.subsections_via_symbols
