	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_handler
_send_handler:                          ## @send_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	8(%rsi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dequeue_send
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_ib_destroy_ah
	movq	8(%rbx), %rdi
	callq	_ib_free_send_mad
	movq	(%r12), %rax
	movq	_IB_WC_RESP_TIMEOUT_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_IB_MGMT_MAD_HDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_queue_packet
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_RESP_TIMEOUT_ERR,8,3     ## @IB_WC_RESP_TIMEOUT_ERR
	.comm	_IB_MGMT_MAD_HDR,4,2            ## @IB_MGMT_MAD_HDR
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_send_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_handler
_send_handler:                          ; @send_handler
	.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
	mov	x22, x1
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x8, [x1, #8]
	ldr	x8, [x8]
	ldr	x19, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_dequeue_send
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_ib_destroy_ah
	ldr	x0, [x19, #8]
	bl	_ib_free_send_mad
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _IB_WC_RESP_TIMEOUT_ERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_WC_RESP_TIMEOUT_ERR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IB_MGMT_MAD_HDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_MGMT_MAD_HDR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ETIMEDOUT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ETIMEDOUT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_queue_packet
	cbz	w0, LBB0_3
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
	b	_kfree
LBB0_3:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_RESP_TIMEOUT_ERR,8,3     ; @IB_WC_RESP_TIMEOUT_ERR
	.comm	_IB_MGMT_MAD_HDR,4,2            ; @IB_MGMT_MAD_HDR
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_send_handler
.subsections_via_symbols
