	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srp_alloc_req_data
_srp_alloc_req_data:                    ## @srp_alloc_req_data
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movl	(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$32, %esi
	callq	_kcalloc
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r12
	cmpl	$0, (%r13)
	movl	$0, %eax
	jle	LBB0_15
## %bb.2:
	movl	8(%r13), %edi
	movl	(%r14), %edx
	movl	$8, %esi
	callq	_kmalloc_array
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 8(%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, 24(%r12,%r15)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, 16(%r12,%r15)
	movl	(%rcx), %edi
	movl	(%r14), %edx
	movl	$8, %esi
	callq	_kmalloc_array
	movq	%rax, 8(%r12,%r15)
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r13), %edi
	movl	(%r14), %esi
	callq	_kmalloc
	movl	%eax, 4(%r12,%r15)
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ib_dma_map_single
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ib_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, (%r12,%r15)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$32, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
	movl	8(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$8, %esi
	callq	_kmalloc_array
	testq	%rax, %rax
	jne	LBB0_4
LBB0_11:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_15
LBB0_13:
	movl	%r15d, %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_srp_alloc_req_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srp_alloc_req_data
_srp_alloc_req_data:                    ; @srp_alloc_req_data
	.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	x20, x0
	ldr	x24, [x0, #8]
	ldr	x8, [x24, #16]
	ldr	x25, [x8]
	ldr	x21, [x25, #16]
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	ldr	w0, [x24]
Lloh3:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	w1, #32
	bl	_kcalloc
	str	x0, [x20]
	cbz	x0, LBB0_12
; %bb.1:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x22, x0
	ldr	w0, [x24, #8]
	ldr	w2, [x26]
	mov	w1, #8
	bl	_kmalloc_array
	cbz	x0, LBB0_12
; %bb.3:
	mov	x27, #0
	mov	x28, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, x27
	str	x0, [x8, #24]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x22, x27
	str	x0, [x23, #16]
	ldr	w0, [x25]
	ldr	w2, [x26]
	mov	w1, #8
	bl	_kmalloc_array
	str	x0, [x23, #8]
	cbz	x0, LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24, #4]
	ldr	w1, [x26]
	bl	_kmalloc
	add	x8, x22, x27
	str	w0, [x8, #4]
	cbz	w0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	ldr	w2, [x24, #4]
Lloh5:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_ib_dma_map_single
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_ib_dma_mapping_error
	cbnz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w23, [x22, x27]
	add	x28, x28, #1
	ldrsw	x8, [x24]
	cmp	x28, x8
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #32
	ldr	x22, [x20]
	ldr	w0, [x24, #8]
	ldr	w2, [x26]
	mov	w1, #8
	bl	_kmalloc_array
	cbnz	x0, LBB0_4
	b	LBB0_12
LBB0_11:
	mov	w19, #0
LBB0_12:
	mov	x0, x19
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_srp_alloc_req_data
.subsections_via_symbols
