	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_bam_transaction
_alloc_bam_transaction:                 ## @alloc_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r14d
	movl	4(%rdi), %edi
	movq	_QPIC_PER_CW_CMD_ELEMENTS@GOTPCREL(%rip), %r12
	movslq	(%r12), %rax
	movq	_QPIC_PER_CW_CMD_SGL@GOTPCREL(%rip), %r15
	movslq	(%r15), %rcx
	addq	%rax, %rcx
	movq	_QPIC_PER_CW_DATA_SGL@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	addq	%rcx, %rsi
	imulq	%r14, %rsi
	addq	$32, %rsi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	addq	$32, %rax
	movq	%rax, 24(%rbx)
	movslq	(%r12), %rax
	imulq	%r14, %rax
	addq	%rbx, %rax
	addq	$32, %rax
	movq	%rax, 16(%rbx)
	movslq	(%r15), %rcx
	imulq	%r14, %rcx
	addq	%rax, %rcx
	movq	%rcx, 8(%rbx)
	movq	%rbx, %rdi
	callq	_init_completion
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QPIC_PER_CW_CMD_ELEMENTS,4,2   ## @QPIC_PER_CW_CMD_ELEMENTS
	.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
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_alloc_bam_transaction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_bam_transaction
_alloc_bam_transaction:                 ; @alloc_bam_transaction
	.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
Lloh0:
	adrp	x21, _QPIC_PER_CW_CMD_ELEMENTS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _QPIC_PER_CW_CMD_ELEMENTS@GOTPAGEOFF]
	ldrsw	x8, [x21]
Lloh2:
	adrp	x20, _QPIC_PER_CW_CMD_SGL@GOTPAGE
Lloh3:
	ldr	x20, [x20, _QPIC_PER_CW_CMD_SGL@GOTPAGEOFF]
	ldrsw	x9, [x20]
Lloh4:
	adrp	x10, _QPIC_PER_CW_DATA_SGL@GOTPAGE
Lloh5:
	ldr	x10, [x10, _QPIC_PER_CW_DATA_SGL@GOTPAGEOFF]
Lloh6:
	ldrsw	x10, [x10]
	add	x8, x9, x8
	add	x8, x8, x10
	orr	x9, xzr, #0x20
	ldp	w22, w0, [x0]
	madd	x1, x8, x22, x9
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_devm_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x8, x19, #32
	str	x8, [x19, #24]
	ldrsw	x9, [x21]
	madd	x8, x9, x22, x8
	ldrsw	x9, [x20]
	madd	x9, x9, x22, x8
	stp	x9, x8, [x19, #8]
	mov	x0, x19
	bl	_init_completion
LBB0_2:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_QPIC_PER_CW_CMD_ELEMENTS,4,2   ; @QPIC_PER_CW_CMD_ELEMENTS
	.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
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_alloc_bam_transaction
.subsections_via_symbols
