	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_mbx_create_disconnect_hdr
_fm10k_mbx_create_disconnect_hdr:       ## @fm10k_mbx_create_disconnect_hdr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_FM10K_MSG_DISCONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FM10K_MSG_HDR_FIELD_SET
	movl	%eax, %r14d
	movl	16(%r15), %edi
	movq	_TAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FM10K_MSG_HDR_FIELD_SET
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movl	12(%r15), %edi
	movq	_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FM10K_MSG_HDR_FIELD_SET
	orl	%ebx, %eax
	movl	%eax, -28(%rbp)
	movl	8(%r15), %esi
	leaq	-28(%rbp), %rdi
	movl	$1, %edx
	callq	_fm10k_crc_16b
	movq	_FM10K_MBX_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%r15)
	movl	-28(%rbp), %ebx
	movq	_CRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_FM10K_MSG_HDR_FIELD_SET
	orl	%ebx, %eax
	movl	%eax, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_MSG_DISCONNECT,4,2       ## @FM10K_MSG_DISCONNECT
	.comm	_TYPE,4,2                       ## @TYPE
	.comm	_TAIL,4,2                       ## @TAIL
	.comm	_HEAD,4,2                       ## @HEAD
	.comm	_FM10K_MBX_ACK,4,2              ## @FM10K_MBX_ACK
	.comm	_CRC,4,2                        ## @CRC
	.no_dead_strip	_fm10k_mbx_create_disconnect_hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_mbx_create_disconnect_hdr
_fm10k_mbx_create_disconnect_hdr:       ; @fm10k_mbx_create_disconnect_hdr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _FM10K_MSG_DISCONNECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_MSG_DISCONNECT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_FM10K_MSG_HDR_FIELD_SET
	mov	x20, x0
	ldr	w0, [x19, #16]
Lloh6:
	adrp	x8, _TAIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TAIL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_FM10K_MSG_HDR_FIELD_SET
	orr	w20, w0, w20
	ldr	w0, [x19, #12]
Lloh9:
	adrp	x8, _HEAD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HEAD@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_FM10K_MSG_HDR_FIELD_SET
	orr	w8, w20, w0
	str	w8, [sp, #12]
	ldr	w1, [x19, #8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_fm10k_crc_16b
Lloh12:
	adrp	x8, _FM10K_MBX_ACK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FM10K_MBX_ACK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	ldr	w20, [sp, #12]
Lloh15:
	adrp	x8, _CRC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CRC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_FM10K_MSG_HDR_FIELD_SET
	orr	w8, w0, w20
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_MSG_DISCONNECT,4,2       ; @FM10K_MSG_DISCONNECT
	.comm	_TYPE,4,2                       ; @TYPE
	.comm	_TAIL,4,2                       ; @TAIL
	.comm	_HEAD,4,2                       ; @HEAD
	.comm	_FM10K_MBX_ACK,4,2              ; @FM10K_MBX_ACK
	.comm	_CRC,4,2                        ; @CRC
	.no_dead_strip	_fm10k_mbx_create_disconnect_hdr
.subsections_via_symbols
