	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioat3_alloc_sed
_ioat3_alloc_sed:                       ## @ioat3_alloc_sed
	.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
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	___GFP_ZERO@GOTPCREL(%rip), %rax
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_ioat_sed_cache@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	%ebx, %esi
	callq	_kmem_cache_alloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	movl	%r15d, (%rax)
	movq	(%r12), %rax
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rdx
	addq	$8, %rdx
	movl	%ebx, %esi
	callq	_dma_pool_alloc
	movl	%eax, 4(%r14)
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_kmem_cache_free
LBB0_3:
	xorl	%r14d, %r14d
LBB0_4:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___GFP_ZERO,4,2                 ## @__GFP_ZERO
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ioat_sed_cache,4,2             ## @ioat_sed_cache
	.no_dead_strip	_ioat3_alloc_sed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioat3_alloc_sed
_ioat3_alloc_sed:                       ; @ioat3_alloc_sed
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___GFP_ZERO@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___GFP_ZERO@GOTPAGEOFF]
Lloh2:
	adrp	x9, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GFP_ATOMIC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w22, w9, w8
Lloh6:
	adrp	x23, _ioat_sed_cache@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ioat_sed_cache@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x22
	bl	_kmem_cache_alloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	str	w20, [x19]
	ldr	x8, [x21]
	ldr	w0, [x8, w20, uxtw #2]
	add	x2, x19, #8
	mov	x1, x22
	bl	_dma_pool_alloc
	str	w0, [x19, #4]
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x23]
	mov	x1, x19
	bl	_kmem_cache_free
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	___GFP_ZERO,4,2                 ; @__GFP_ZERO
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ioat_sed_cache,4,2             ; @ioat_sed_cache
	.no_dead_strip	_ioat3_alloc_sed
.subsections_via_symbols
