	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_mk_ack_header
_dn_mk_ack_header:                      ## @dn_mk_ack_header
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movl	%ecx, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_DN_SK
	movq	%rax, %rbx
	movzwl	(%rax), %r15d
	andl	$4095, %r15d                    ## imm = 0xFFF
	movzwl	4(%rax), %r14d
	andl	$4095, %r14d                    ## imm = 0xFFF
	xorl	%edi, %edi
	cmpl	$9, %r13d
	setl	%dil
	callq	_BUG_ON
	movw	%r15w, 8(%rbx)
	movw	%r14w, 10(%rbx)
	orl	$-32768, %r15d                  ## imm = 0x8000
	orl	$-32768, %r14d                  ## imm = 0x8000
	testl	%r12d, %r12d
	movl	%r15d, %r12d
	cmovel	%r14d, %r12d
	cmovel	%r15d, %r14d
	orl	$8192, %r12d                    ## imm = 0x2000
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	callq	_dn_mk_common_header
	movq	%rax, %rbx
	movzwl	%r14w, %edi
	callq	_cpu_to_le16
	movl	%eax, (%rbx)
	movzwl	%r12w, %edi
	callq	_cpu_to_le16
	movl	%eax, 4(%rbx)
	addq	$8, %rbx
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dn_mk_ack_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_mk_ack_header
_dn_mk_ack_header:                      ; @dn_mk_ack_header
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	bl	_DN_SK
	mov	x23, x0
	ldrh	w24, [x0]
	and	w25, w24, #0xfff
	ldrh	w26, [x0, #4]
	and	w27, w26, #0xfff
	cmp	w20, #9
	cset	w0, lt
	bl	_BUG_ON
	strh	w25, [x23, #8]
	strh	w27, [x23, #10]
	mov	w8, #-32768
	mov	w9, #-32768
	bfxil	w9, w24, #0, #12
	bfxil	w8, w26, #0, #12
	cmp	w19, #0
	csel	w10, w8, w9, eq
	csel	w24, w9, w8, eq
	orr	w25, w10, #0x2000
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_dn_mk_common_header
	mov	x19, x0
	and	w0, w24, #0xffff
	bl	_cpu_to_le16
	str	w0, [x19]
	and	w0, w25, #0xffff
	bl	_cpu_to_le16
	add	x8, x19, #8
	str	w0, [x19, #4]
	mov	x0, x8
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dn_mk_ack_header
.subsections_via_symbols
