	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_write_iosf_sb_reg_x550
_ixgbe_write_iosf_sb_reg_x550:          ## @ixgbe_write_iosf_sb_reg_x550
	.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	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_IXGBE_GSSR_PHY1_SM@GOTPCREL(%rip), %rax
	movq	_IXGBE_GSSR_PHY0_SM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movl	%ebx, %esi
	callq	*8(%rdi)
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ixgbe_iosf_wait
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*(%r14)
	jmp	LBB0_5
LBB0_2:
	movq	_IXGBE_SB_IOSF_CTRL_ADDR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	movq	_IXGBE_SB_IOSF_CTRL_TARGET_SELECT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r13d
	orl	%r12d, %r13d
	movl	%r13d, -44(%rbp)
	movq	_IXGBE_SB_IOSF_INDIRECT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_SB_IOSF_INDIRECT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_IXGBE_WRITE_REG
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ixgbe_iosf_wait
	movq	%rax, %r15
	movl	-44(%rbp), %edx
	movq	_IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movq	_IXGBE_SB_IOSF_CTRL_CMPL_ERR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_hw_dbg
	movq	_IXGBE_ERR_PHY@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_5:
	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_GSSR_PHY1_SM,4,2         ## @IXGBE_GSSR_PHY1_SM
	.comm	_IXGBE_GSSR_PHY0_SM,4,2         ## @IXGBE_GSSR_PHY0_SM
	.comm	_IXGBE_SB_IOSF_CTRL_ADDR_SHIFT,4,2 ## @IXGBE_SB_IOSF_CTRL_ADDR_SHIFT
	.comm	_IXGBE_SB_IOSF_CTRL_TARGET_SELECT_SHIFT,4,2 ## @IXGBE_SB_IOSF_CTRL_TARGET_SELECT_SHIFT
	.comm	_IXGBE_SB_IOSF_INDIRECT_CTRL,4,2 ## @IXGBE_SB_IOSF_INDIRECT_CTRL
	.comm	_IXGBE_SB_IOSF_INDIRECT_DATA,4,2 ## @IXGBE_SB_IOSF_INDIRECT_DATA
	.comm	_IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK,4,2 ## @IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK
	.comm	_IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK,4,2 ## @IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK
	.comm	_IXGBE_SB_IOSF_CTRL_CMPL_ERR_SHIFT,4,2 ## @IXGBE_SB_IOSF_CTRL_CMPL_ERR_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to write, error %x\n"

	.comm	_IXGBE_ERR_PHY,8,3              ## @IXGBE_ERR_PHY
	.no_dead_strip	_ixgbe_write_iosf_sb_reg_x550
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_write_iosf_sb_reg_x550
_ixgbe_write_iosf_sb_reg_x550:          ; @ixgbe_write_iosf_sb_reg_x550
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IXGBE_GSSR_PHY1_SM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_GSSR_PHY1_SM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IXGBE_GSSR_PHY0_SM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXGBE_GSSR_PHY0_SM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w20, w9, w8
	ldr	x8, [x0, #8]
	mov	x1, x20
	blr	x8
	mov	x23, x0
	cbnz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	bl	_ixgbe_iosf_wait
	mov	x23, x0
	cbz	x0, LBB0_3
LBB0_2:
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _IXGBE_SB_IOSF_CTRL_ADDR_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_SB_IOSF_CTRL_ADDR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w8, w24, w8
Lloh9:
	adrp	x9, _IXGBE_SB_IOSF_CTRL_TARGET_SELECT_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IXGBE_SB_IOSF_CTRL_TARGET_SELECT_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w9, w22, w9
	orr	w2, w9, w8
	str	w2, [sp, #12]
Lloh12:
	adrp	x8, _IXGBE_SB_IOSF_INDIRECT_CTRL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IXGBE_SB_IOSF_INDIRECT_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
Lloh15:
	adrp	x8, _IXGBE_SB_IOSF_INDIRECT_DATA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IXGBE_SB_IOSF_INDIRECT_DATA@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	add	x1, sp, #12
	mov	x0, x19
	bl	_ixgbe_iosf_wait
	ldr	w8, [sp, #12]
Lloh18:
	adrp	x9, _IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh21:
	adrp	x9, _IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh24:
	adrp	x9, _IXGBE_SB_IOSF_CTRL_CMPL_ERR_SHIFT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IXGBE_SB_IOSF_CTRL_CMPL_ERR_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	asr	w2, w8, w9
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
Lloh29:
	adrp	x8, _IXGBE_ERR_PHY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IXGBE_ERR_PHY@GOTPAGEOFF]
Lloh31:
	ldr	x23, [x8]
LBB0_5:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
LBB0_6:
	mov	x23, x0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_GSSR_PHY1_SM,4,2         ; @IXGBE_GSSR_PHY1_SM
	.comm	_IXGBE_GSSR_PHY0_SM,4,2         ; @IXGBE_GSSR_PHY0_SM
	.comm	_IXGBE_SB_IOSF_CTRL_ADDR_SHIFT,4,2 ; @IXGBE_SB_IOSF_CTRL_ADDR_SHIFT
	.comm	_IXGBE_SB_IOSF_CTRL_TARGET_SELECT_SHIFT,4,2 ; @IXGBE_SB_IOSF_CTRL_TARGET_SELECT_SHIFT
	.comm	_IXGBE_SB_IOSF_INDIRECT_CTRL,4,2 ; @IXGBE_SB_IOSF_INDIRECT_CTRL
	.comm	_IXGBE_SB_IOSF_INDIRECT_DATA,4,2 ; @IXGBE_SB_IOSF_INDIRECT_DATA
	.comm	_IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK,4,2 ; @IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK
	.comm	_IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK,4,2 ; @IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK
	.comm	_IXGBE_SB_IOSF_CTRL_CMPL_ERR_SHIFT,4,2 ; @IXGBE_SB_IOSF_CTRL_CMPL_ERR_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to write, error %x\n"

	.comm	_IXGBE_ERR_PHY,8,3              ; @IXGBE_ERR_PHY
	.no_dead_strip	_ixgbe_write_iosf_sb_reg_x550
.subsections_via_symbols
