	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_host_interface_command   ## -- Begin function ixgbe_host_interface_command
	.p2align	4, 0x90
_ixgbe_host_interface_command:          ## @ixgbe_host_interface_command
	.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
	movq	%rdx, %r12
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_IXGBE_HI_MAX_BLOCK_BYTE_LENGTH@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jl	LBB0_2
## %bb.3:
	movq	%rcx, %r13
	movq	%rsi, %r14
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	_IXGBE_GSSR_SW_MNG_SM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_15
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_ixgbe_hic_unlocked
	movq	%rax, %r15
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.5:
	testq	%r15, %r15
	movq	_IXGBE_GSSR_SW_MNG_SM@GOTPCREL(%rip), %r13
	jne	LBB0_14
## %bb.6:
	movq	_IXGBE_FLEX_MNG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_IXGBE_READ_REG_ARRAY
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_le32_to_cpus
	movl	(%r13), %esi
	movq	_IXGBE_GSSR_SW_MNG_SM@GOTPCREL(%rip), %r13
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_IXGBE_READ_REG_ARRAY
	leaq	8(%r14), %rdi
	movq	%rax, 8(%r14)
	callq	_le32_to_cpus
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.7:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_round_up
	addq	$8, %rax
	cmpq	%r12, %rax
	jle	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_hw_dbg
	movq	_IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_14
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_hw_dbg
	movq	_IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_15
LBB0_9:
	cmpq	$5, %rbx
	jge	LBB0_11
## %bb.10:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_11:
	addq	$3, %rbx
	shrq	$2, %rbx
	movl	$1, %r12d
	subq	%rbx, %r12
	addq	$16, %r14
	movl	$2, %ebx
	xorl	%r15d, %r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	_IXGBE_FLEX_MNG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_IXGBE_READ_REG_ARRAY
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_le32_to_cpus
	leaq	(%r12,%rbx), %rax
	incq	%rax
	incq	%rbx
	addq	$8, %r14
	cmpq	$2, %rax
	jne	LBB0_12
LBB0_13:
	movq	_IXGBE_GSSR_SW_MNG_SM@GOTPCREL(%rip), %r13
LBB0_14:
	movl	(%r13), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	*(%rdi)
LBB0_15:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_HI_MAX_BLOCK_BYTE_LENGTH,8,3 ## @IXGBE_HI_MAX_BLOCK_BYTE_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Buffer length failure buffersize-%d.\n"

	.comm	_IXGBE_ERR_HOST_INTERFACE_COMMAND,8,3 ## @IXGBE_ERR_HOST_INTERFACE_COMMAND
	.comm	_IXGBE_GSSR_SW_MNG_SM,4,2       ## @IXGBE_GSSR_SW_MNG_SM
	.comm	_IXGBE_FLEX_MNG,4,2             ## @IXGBE_FLEX_MNG
L_.str.1:                               ## @.str.1
	.asciz	"Buffer not large enough for reply message.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_host_interface_command   ; -- Begin function ixgbe_host_interface_command
	.p2align	2
_ixgbe_host_interface_command:          ; @ixgbe_host_interface_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x2
	mov	x19, x0
	cbz	x2, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _IXGBE_HI_MAX_BLOCK_BYTE_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_HI_MAX_BLOCK_BYTE_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.lt	LBB0_8
; %bb.2:
	mov	x23, x4
	mov	x24, x3
	mov	x20, x1
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x25, _IXGBE_GSSR_SW_MNG_SM@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IXGBE_GSSR_SW_MNG_SM@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	blr	x8
	mov	x22, x0
	cbnz	x0, LBB0_14
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x24
	bl	_ixgbe_hic_unlocked
	mov	x22, x0
	cbz	w23, LBB0_13
; %bb.4:
	cbnz	x22, LBB0_13
; %bb.5:
Lloh5:
	adrp	x23, _IXGBE_FLEX_MNG@GOTPAGE
Lloh6:
	ldr	x23, [x23, _IXGBE_FLEX_MNG@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, #0
	bl	_IXGBE_READ_REG_ARRAY
	str	x0, [x20]
	mov	x0, x20
	bl	_le32_to_cpus
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #1
	bl	_IXGBE_READ_REG_ARRAY
	mov	x8, x20
	str	x0, [x8, #8]!
	mov	x0, x8
	bl	_le32_to_cpus
	ldr	x22, [x20]
	cbz	x22, LBB0_13
; %bb.6:
	mov	x0, x22
	mov	w1, #4
	bl	_round_up
	add	x8, x0, #8
	cmp	x8, x21
	b.le	LBB0_9
; %bb.7:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
Lloh9:
	adrp	x8, _IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPAGEOFF]
Lloh11:
	ldr	x22, [x8]
	b	LBB0_13
LBB0_8:
	str	x21, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
Lloh14:
	adrp	x8, _IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPAGEOFF]
Lloh16:
	ldr	x22, [x8]
	b	LBB0_14
LBB0_9:
	cmp	x22, #5
	b.lt	LBB0_12
; %bb.10:
	add	x8, x22, #3
	lsr	x22, x8, #2
	add	x21, x20, #16
	mov	w20, #1
	mov	x24, x21
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x20, x20, #1
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_READ_REG_ARRAY
	str	x0, [x24], #8
	mov	x0, x21
	bl	_le32_to_cpus
	mov	x21, x24
	cmp	x22, x20
	b.ne	LBB0_11
LBB0_12:
	mov	x22, #0
LBB0_13:
	ldr	x8, [x19]
	ldr	w1, [x25]
	mov	x0, x19
	blr	x8
LBB0_14:
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_HI_MAX_BLOCK_BYTE_LENGTH,8,3 ; @IXGBE_HI_MAX_BLOCK_BYTE_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Buffer length failure buffersize-%d.\n"

	.comm	_IXGBE_ERR_HOST_INTERFACE_COMMAND,8,3 ; @IXGBE_ERR_HOST_INTERFACE_COMMAND
	.comm	_IXGBE_GSSR_SW_MNG_SM,4,2       ; @IXGBE_GSSR_SW_MNG_SM
	.comm	_IXGBE_FLEX_MNG,4,2             ; @IXGBE_FLEX_MNG
l_.str.1:                               ; @.str.1
	.asciz	"Buffer not large enough for reply message.\n"

.subsections_via_symbols
