	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_header
_prepare_header:                        ## @prepare_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movl	%esi, %eax
	movq	(%rdi), %r13
	movq	_MSG_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %r15d
	movq	_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_SEGMENT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SEG_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %r15d
	movq	_NO_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %r14d
	orl	%r15d, %r14d
	orl	%ebx, %r14d
	movq	_ASYNC_MGMT_TO_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %r15d
	movq	_SEQID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_LAST_SEGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %r15d
	orl	%ebx, %r15d
	orl	%r14d, %r15d
	movq	_DIRECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %r14d
	movq	_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movq	%r13, %rdi
	callq	_HINIC_HWIF_PCI_INTF
	movq	_PCI_INTF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %r14d
	orl	%ebx, %r14d
	movq	%r13, %rdi
	callq	_HINIC_HWIF_PF_IDX
	movq	_PF_IDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_HINIC_MSG_HEADER_SET
	movl	%eax, %ebx
	orl	%r14d, %ebx
	orl	%r15d, %ebx
	movq	_MSG_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbp), %edi
	callq	_HINIC_MSG_HEADER_SET
	orl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_LEN,4,2                    ## @MSG_LEN
	.comm	_MODULE,4,2                     ## @MODULE
	.comm	_SEGMENT_LEN,4,2                ## @SEGMENT_LEN
	.comm	_SEG_LEN,4,2                    ## @SEG_LEN
	.comm	_NO_ACK,4,2                     ## @NO_ACK
	.comm	_ASYNC_MGMT_TO_PF,4,2           ## @ASYNC_MGMT_TO_PF
	.comm	_SEQID,4,2                      ## @SEQID
	.comm	_LAST_SEGMENT,4,2               ## @LAST_SEGMENT
	.comm	_LAST,4,2                       ## @LAST
	.comm	_DIRECTION,4,2                  ## @DIRECTION
	.comm	_CMD,4,2                        ## @CMD
	.comm	_PCI_INTF,4,2                   ## @PCI_INTF
	.comm	_PF_IDX,4,2                     ## @PF_IDX
	.comm	_MSG_ID,4,2                     ## @MSG_ID
	.no_dead_strip	_prepare_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_header
_prepare_header:                        ; @prepare_header
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x8, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x9, _MSG_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSG_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_HINIC_MSG_HEADER_SET
	mov	x25, x0
Lloh3:
	adrp	x8, _MODULE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODULE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_HINIC_MSG_HEADER_SET
	orr	w24, w0, w25
Lloh6:
	adrp	x8, _SEGMENT_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEGMENT_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _SEG_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEG_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_HINIC_MSG_HEADER_SET
	orr	w24, w24, w0
Lloh12:
	adrp	x8, _NO_ACK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NO_ACK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_HINIC_MSG_HEADER_SET
	orr	w23, w24, w0
Lloh15:
	adrp	x8, _ASYNC_MGMT_TO_PF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ASYNC_MGMT_TO_PF@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_HINIC_MSG_HEADER_SET
	orr	w23, w23, w0
Lloh18:
	adrp	x8, _SEQID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SEQID@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_HINIC_MSG_HEADER_SET
	orr	w23, w23, w0
Lloh21:
	adrp	x8, _LAST_SEGMENT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LAST_SEGMENT@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _LAST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LAST@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_HINIC_MSG_HEADER_SET
	orr	w23, w23, w0
Lloh27:
	adrp	x8, _DIRECTION@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DIRECTION@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_HINIC_MSG_HEADER_SET
	orr	w22, w23, w0
Lloh30:
	adrp	x8, _CMD@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CMD@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_HINIC_MSG_HEADER_SET
	orr	w21, w22, w0
	mov	x0, x20
	bl	_HINIC_HWIF_PCI_INTF
Lloh33:
	adrp	x8, _PCI_INTF@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PCI_INTF@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_HINIC_MSG_HEADER_SET
	orr	w21, w21, w0
	mov	x0, x20
	bl	_HINIC_HWIF_PF_IDX
Lloh36:
	adrp	x8, _PF_IDX@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PF_IDX@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_HINIC_MSG_HEADER_SET
	orr	w20, w21, w0
Lloh39:
	adrp	x8, _MSG_ID@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MSG_ID@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_HINIC_MSG_HEADER_SET
	orr	w0, w20, w0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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	_MSG_LEN,4,2                    ; @MSG_LEN
	.comm	_MODULE,4,2                     ; @MODULE
	.comm	_SEGMENT_LEN,4,2                ; @SEGMENT_LEN
	.comm	_SEG_LEN,4,2                    ; @SEG_LEN
	.comm	_NO_ACK,4,2                     ; @NO_ACK
	.comm	_ASYNC_MGMT_TO_PF,4,2           ; @ASYNC_MGMT_TO_PF
	.comm	_SEQID,4,2                      ; @SEQID
	.comm	_LAST_SEGMENT,4,2               ; @LAST_SEGMENT
	.comm	_LAST,4,2                       ; @LAST
	.comm	_DIRECTION,4,2                  ; @DIRECTION
	.comm	_CMD,4,2                        ; @CMD
	.comm	_PCI_INTF,4,2                   ; @PCI_INTF
	.comm	_PF_IDX,4,2                     ; @PF_IDX
	.comm	_MSG_ID,4,2                     ; @MSG_ID
	.no_dead_strip	_prepare_header
.subsections_via_symbols
