	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function allocate_request
_allocate_request:                      ## @allocate_request
	.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, %r13
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movl	(%rax), %edi
	callq	_HEADER_GET_TCODE
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_3
## %bb.1:
	movl	$4, %r12d
	xorl	%r15d, %r15d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	(%r13), %rax
	movq	8(%r13), %r15
	movl	12(%rax), %edi
	callq	_HEADER_GET_DATA_LENGTH
	movl	%eax, %r12d
	jmp	LBB0_6
LBB0_3:
	movq	(%r13), %rax
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	movl	8(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_fw_notice
	jmp	LBB0_10
LBB0_4:
	movq	(%r13), %r15
	addq	$12, %r15
	jmp	LBB0_6
LBB0_5:
	movq	(%r13), %rax
	movl	12(%rax), %edi
	callq	_HEADER_GET_DATA_LENGTH
	movl	%eax, %r12d
	xorl	%r15d, %r15d
LBB0_6:
	leal	48(%r12), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%rax, %rbx
	movl	28(%r13), %eax
	movl	%eax, 40(%rbx)
	movl	24(%r13), %esi
	movq	%r14, %rdi
	callq	_compute_split_timeout_timestamp
	movl	%eax, 36(%rbx)
	movl	20(%r13), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_free_response_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	16(%r13), %eax
	movl	%eax, 12(%rbx)
	movl	%r12d, (%rbx)
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcpy
LBB0_9:
	movl	4(%rbx), %edi
	movq	(%r13), %rsi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_11
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR - corrupt request received - %08x %08x %08x\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_free_response_callback,4,2     ## @free_response_callback
	.no_dead_strip	_allocate_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function allocate_request
_allocate_request:                      ; @allocate_request
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	ldr	w0, [x8]
	bl	_HEADER_GET_TCODE
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	w22, #4
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldp	x8, x21, [x19]
	ldr	w0, [x8, #12]
	bl	_HEADER_GET_DATA_LENGTH
	mov	x22, x0
	b	LBB0_6
LBB0_3:
	ldr	x8, [x19]
	ldp	w2, w3, [x8]
	ldr	w4, [x8, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fw_notice
	mov	x23, #0
	b	LBB0_10
LBB0_4:
	ldr	x8, [x19]
	add	x21, x8, #12
	mov	w22, #4
	b	LBB0_6
LBB0_5:
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	bl	_HEADER_GET_DATA_LENGTH
	mov	x22, x0
	mov	x21, #0
LBB0_6:
	add	w0, w22, #48
Lloh4:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x23, x0
	cbz	x0, LBB0_10
; %bb.7:
	ldp	w1, w8, [x19, #24]
	str	w8, [x23, #40]
	mov	x0, x20
	bl	_compute_split_timeout_timestamp
	ldp	w9, w8, [x19, #16]
	stp	w8, w0, [x23, #32]
	str	xzr, [x23, #24]
Lloh7:
	adrp	x8, _free_response_callback@GOTPAGE
Lloh8:
	ldr	x8, [x8, _free_response_callback@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	stp	w9, w8, [x23, #12]
	str	w22, [x23]
	cbz	x21, LBB0_9
; %bb.8:
	ldr	w0, [x23, #8]
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
LBB0_9:
	ldr	w0, [x23, #4]
	ldr	x1, [x19]
	mov	w2, #8
	bl	_memcpy
LBB0_10:
	mov	x0, x23
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR - corrupt request received - %08x %08x %08x\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_free_response_callback,4,2     ; @free_response_callback
	.no_dead_strip	_allocate_request
.subsections_via_symbols
