	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recv_handler
_recv_handler:                          ## @recv_handler
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	8(%rdx), %rax
	movq	(%rax), %rax
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$88, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	movq	16(%r15), %rax
	movq	%rax, 80(%rbx)
	movq	%r15, 72(%rbx)
	movq	$0, 64(%rbx)
	movq	%r12, %rdi
	callq	_hdr_size
	addq	16(%r15), %rax
	movq	%rax, 56(%rbx)
	movq	8(%r15), %rax
	movl	28(%rax), %edi
	callq	_cpu_to_be32
	movq	%rax, 48(%rbx)
	movq	8(%r15), %rax
	movl	24(%rax), %edi
	callq	_cpu_to_be16
	movl	%eax, 44(%rbx)
	movq	8(%r15), %rdx
	movl	20(%rdx), %eax
	movl	%eax, 40(%rbx)
	movl	16(%rdx), %eax
	movl	%eax, 36(%rbx)
	movl	12(%rdx), %eax
	movl	%eax, 32(%rbx)
	movq	_IB_WC_GRH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	8(%rdx), %eax
	setne	%cl
	movl	%ecx, (%rbx)
	je	LBB0_5
## %bb.3:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movl	(%r15), %ecx
	leaq	-56(%rbp), %r8
	callq	_ib_init_ah_from_wc
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	-40(%rbp), %eax
	movl	%eax, 28(%rbx)
	movl	-44(%rbp), %eax
	movl	%eax, 24(%rbx)
	movl	-48(%rbp), %eax
	movl	%eax, 20(%rbx)
	movl	16(%rbx), %edi
	leaq	-52(%rbp), %rsi
	movl	$16, %edx
	callq	_memcpy
	movl	-56(%rbp), %edi
	callq	_cpu_to_be32
	movq	%rax, 8(%rbx)
LBB0_5:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_queue_packet
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_7:
	movq	%r15, %rdi
	callq	_ib_free_recv_mad
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IB_WC_GRH,4,2                  ## @IB_WC_GRH
	.no_dead_strip	_recv_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recv_handler
_recv_handler:                          ; @recv_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x2
	ldr	x8, [x2, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x22, [x0, #8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #88
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	ldr	x8, [x19, #16]
	stp	x19, x8, [x0, #72]
	str	xzr, [x0, #64]
	mov	x0, x22
	bl	_hdr_size
	ldr	x8, [x19, #16]
	add	x8, x8, x0
	str	x8, [x21, #56]
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #28]
	bl	_cpu_to_be32
	str	x0, [x21, #48]
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #24]
	bl	_cpu_to_be16
	str	w0, [x21, #44]
	ldr	x2, [x19, #8]
	ldr	w8, [x2, #20]
	str	w8, [x21, #40]
	ldur	d0, [x2, #12]
	str	d0, [x21, #32]
	ldr	w8, [x2, #8]
Lloh6:
	adrp	x9, _IB_WC_GRH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_WC_GRH@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ands	w8, w9, w8
	cset	w9, ne
	str	w9, [x21]
	cbz	w8, LBB0_5
; %bb.3:
	ldp	w1, w0, [x20]
	ldr	w3, [x19]
	add	x23, sp, #8
	add	x4, sp, #8
	bl	_ib_init_ah_from_wc
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	w8, [sp, #24]
	str	w8, [x21, #28]
	ldr	d0, [sp, #16]
	stur	d0, [x21, #20]
	ldr	w0, [x21, #16]
	orr	x1, x23, #0x4
	mov	w2, #16
	bl	_memcpy
	ldr	w0, [sp, #8]
	bl	_cpu_to_be32
	str	x0, [x21, #8]
LBB0_5:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_queue_packet
	cbz	x0, LBB0_8
LBB0_6:
	mov	x0, x21
	bl	_kfree
LBB0_7:
	mov	x0, x19
	bl	_ib_free_recv_mad
LBB0_8:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,8,3              ; @IB_WC_SUCCESS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IB_WC_GRH,4,2                  ; @IB_WC_GRH
	.no_dead_strip	_recv_handler
.subsections_via_symbols
