	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function retry_send
_retry_send:                            ## @retry_send
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	28(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	decl	%eax
	movl	%eax, 28(%rdi)
	incl	20(%rdi)
	movl	16(%rdi), %edi
	callq	_msecs_to_jiffies
	movl	%eax, 24(%rbx)
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_ib_mad_kernel_rmpp_agent
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_ib_retry_rmpp
	cmpl	$129, %eax
	je	LBB0_8
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_5
LBB0_6:
	movq	%rbx, %rdi
	callq	_ib_send_mad
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_8
LBB0_1:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_5:
	movq	_ECOMM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	testl	%eax, %eax
	jne	LBB0_9
LBB0_8:
	incl	12(%rbx)
	movq	(%rbx), %rsi
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_list_add_tail
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_ECOMM,4,2                      ## @ECOMM
	.no_dead_strip	_retry_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function retry_send
_retry_send:                            ; @retry_send
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0, #28]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	sub	w8, w8, #1
	str	w8, [x0, #28]
	ldp	w0, w8, [x0, #16]
	add	w8, w8, #1
	str	w8, [x19, #20]
	bl	_msecs_to_jiffies
	str	w0, [x19, #24]
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_ib_mad_kernel_rmpp_agent
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_ib_retry_rmpp
	cmp	w0, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w0, #128
	b.ne	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_ib_send_mad
	cbnz	w0, LBB0_8
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_6:
Lloh3:
	adrp	x8, _ECOMM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECOMM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	cbnz	w0, LBB0_8
LBB0_7:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	add	x0, x19, #8
	ldr	x1, [x19]
	bl	_list_add_tail
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_ECOMM,4,2                      ; @ECOMM
	.no_dead_strip	_retry_send
.subsections_via_symbols
