	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_ack
_dn_ack:                                ## @dn_ack
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_DN_SK
	movq	%rax, %rbx
	movl	%r15d, %eax
	shrl	$12, %eax
	andl	$3, %eax
	cmpw	$2, %ax
	je	LBB0_4
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movzwl	(%rbx), %esi
	movzwl	%r15w, %edi
	callq	_dn_after
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movl	%r15d, %eax
	andl	$4095, %eax                     ## imm = 0xFFF
	movw	%ax, (%rbx)
	addq	$8, %rbx
	jmp	LBB0_6
LBB0_4:
	movzwl	2(%rbx), %esi
	movzwl	%r15w, %edi
	callq	_dn_after
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movl	%r15d, %eax
	andl	$4095, %eax                     ## imm = 0xFFF
	movw	%ax, 2(%rbx)
	addq	$4, %rbx
LBB0_6:
	movzwl	%r15w, %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_dn_nsp_check_xmit_queue
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rdi)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.no_dead_strip	_dn_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_ack
_dn_ack:                                ; @dn_ack
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_DN_SK
	mov	x22, x0
	ubfx	w8, w20, #12, #2
	cmp	w8, #2
	b.eq	LBB0_4
; %bb.1:
	cbnz	w8, LBB0_8
; %bb.2:
	ldrh	w1, [x22]
	mov	x0, x20
	bl	_dn_after
	cbz	w0, LBB0_8
; %bb.3:
	and	w8, w20, #0xfff
	strh	w8, [x22], #8
	b	LBB0_6
LBB0_4:
	ldrh	w1, [x22, #2]
	mov	x0, x20
	bl	_dn_after
	cbz	w0, LBB0_8
; %bb.5:
	and	w8, w20, #0xfff
	strh	w8, [x22, #2]
	add	x22, x22, #4
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_dn_nsp_check_xmit_queue
	cbz	w0, LBB0_8
; %bb.7:
Lloh0:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbz	w0, LBB0_9
LBB0_8:
	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
LBB0_9:
	ldr	x1, [x19]
	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
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.no_dead_strip	_dn_ack
.subsections_via_symbols
