	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clear_bam_transaction
_clear_bam_transaction:                 ## @clear_bam_transaction
	.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	8(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movl	$0, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, 32(%rbx)
	movups	%xmm0, 48(%rbx)
	movups	%xmm0, 64(%rbx)
	movq	$0, 80(%rbx)
	movl	12(%rbx), %edi
	movq	_QPIC_PER_CW_CMD_SGL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	(%r14), %esi
	callq	_sg_init_table
	movl	8(%rbx), %edi
	movq	_QPIC_PER_CW_DATA_SGL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	(%r14), %esi
	callq	_sg_init_table
	addq	$4, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_reinit_completion              ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QPIC_PER_CW_CMD_SGL,4,2        ## @QPIC_PER_CW_CMD_SGL
	.comm	_QPIC_PER_CW_DATA_SGL,4,2       ## @QPIC_PER_CW_DATA_SGL
	.no_dead_strip	_clear_bam_transaction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clear_bam_transaction
_clear_bam_transaction:                 ; @clear_bam_transaction
	.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
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #16]
	str	wzr, [x20]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #16]
	stp	q0, q0, [x20, #48]
	str	xzr, [x20, #80]
	ldr	w0, [x20, #12]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _QPIC_PER_CW_CMD_SGL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QPIC_PER_CW_CMD_SGL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w1, w9, w8
	bl	_sg_init_table
	ldr	w0, [x20, #8]
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _QPIC_PER_CW_DATA_SGL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QPIC_PER_CW_DATA_SGL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w1, w9, w8
	bl	_sg_init_table
	add	x0, x20, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_reinit_completion
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QPIC_PER_CW_CMD_SGL,4,2        ; @QPIC_PER_CW_CMD_SGL
	.comm	_QPIC_PER_CW_DATA_SGL,4,2       ; @QPIC_PER_CW_DATA_SGL
	.no_dead_strip	_clear_bam_transaction
.subsections_via_symbols
