	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_send_fin
_i40iw_send_fin:                        ## @i40iw_send_fin
	.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
	movq	%rdi, %rbx
	movq	_SET_ACK@GOTPCREL(%rip), %rax
	movq	_SET_FIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i40iw_form_cm_frame
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_I40IW_TIMER_TYPE_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_i40iw_schedule_cm_timer        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_i40iw_pr_err
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SET_ACK,4,2                    ## @SET_ACK
	.comm	_SET_FIN,4,2                    ## @SET_FIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no sqbuf\n"

	.comm	_I40IW_TIMER_TYPE_SEND,4,2      ## @I40IW_TIMER_TYPE_SEND
	.no_dead_strip	_i40iw_send_fin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_send_fin
_i40iw_send_fin:                        ; @i40iw_send_fin
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _SET_ACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SET_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SET_FIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SET_FIN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_i40iw_form_cm_frame
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh6:
	adrp	x8, _I40IW_TIMER_TYPE_SEND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40IW_TIMER_TYPE_SEND@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i40iw_schedule_cm_timer
LBB0_2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_i40iw_pr_err
	mov	w0, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SET_ACK,4,2                    ; @SET_ACK
	.comm	_SET_FIN,4,2                    ; @SET_FIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no sqbuf\n"

	.comm	_I40IW_TIMER_TYPE_SEND,4,2      ; @I40IW_TIMER_TYPE_SEND
	.no_dead_strip	_i40iw_send_fin
.subsections_via_symbols
