	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_set_soft_rate_select_speed ## -- Begin function ixgbe_set_soft_rate_select_speed
	.p2align	4, 0x90
_ixgbe_set_soft_rate_select_speed:      ## @ixgbe_set_soft_rate_select_speed
	.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	%rdi, %rbx
	cmpl	$129, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_14
## %bb.3:
	movq	_IXGBE_SFF_SOFT_RS_SELECT_1G@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_IXGBE_SFF_SOFT_RS_SELECT_10G@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r14d
	movq	_IXGBE_SFF_SFF_8472_OSCB@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_IXGBE_I2C_EEPROM_DEV_ADDR2@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_12
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hw_dbg                         ## TAILCALL
LBB0_6:
	movq	_IXGBE_SFF_SOFT_RS_SELECT_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	notl	%ecx
	andl	-44(%rbp), %ecx
	orl	%r14d, %ecx
	movl	%ecx, -44(%rbp)
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_12
LBB0_8:
	movq	_IXGBE_SFF_SFF_8472_ESCB@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	(%r15), %edx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_12
LBB0_10:
	movl	(%r12), %ecx
	notl	%ecx
	andl	-44(%rbp), %ecx
	orl	%r14d, %ecx
	movl	%ecx, -44(%rbp)
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
LBB0_12:
	movq	%rbx, %rdi
	callq	_hw_dbg
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_SFF_SOFT_RS_SELECT_10G,4,2 ## @IXGBE_SFF_SOFT_RS_SELECT_10G
	.comm	_IXGBE_SFF_SOFT_RS_SELECT_1G,4,2 ## @IXGBE_SFF_SOFT_RS_SELECT_1G
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid fixed module speed\n"

	.comm	_IXGBE_SFF_SFF_8472_OSCB,4,2    ## @IXGBE_SFF_SFF_8472_OSCB
	.comm	_IXGBE_I2C_EEPROM_DEV_ADDR2,4,2 ## @IXGBE_I2C_EEPROM_DEV_ADDR2
L_.str.1:                               ## @.str.1
	.asciz	"Failed to read Rx Rate Select RS0\n"

	.comm	_IXGBE_SFF_SOFT_RS_SELECT_MASK,4,2 ## @IXGBE_SFF_SOFT_RS_SELECT_MASK
L_.str.2:                               ## @.str.2
	.asciz	"Failed to write Rx Rate Select RS0\n"

	.comm	_IXGBE_SFF_SFF_8472_ESCB,4,2    ## @IXGBE_SFF_SFF_8472_ESCB
L_.str.3:                               ## @.str.3
	.asciz	"Failed to read Rx Rate Select RS1\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to write Rx Rate Select RS1\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_set_soft_rate_select_speed ; -- Begin function ixgbe_set_soft_rate_select_speed
	.p2align	2
_ixgbe_set_soft_rate_select_speed:      ; @ixgbe_set_soft_rate_select_speed
	.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	x19, x0
	cmp	w1, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _IXGBE_SFF_SOFT_RS_SELECT_1G@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_SFF_SOFT_RS_SELECT_1G@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _IXGBE_SFF_SOFT_RS_SELECT_10G@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_SFF_SOFT_RS_SELECT_10G@GOTPAGEOFF]
LBB0_4:
	ldr	w20, [x8]
	ldr	x8, [x19, #8]
Lloh4:
	adrp	x23, _IXGBE_SFF_SFF_8472_OSCB@GOTPAGE
Lloh5:
	ldr	x23, [x23, _IXGBE_SFF_SFF_8472_OSCB@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh6:
	adrp	x21, _IXGBE_I2C_EEPROM_DEV_ADDR2@GOTPAGE
Lloh7:
	ldr	x21, [x21, _IXGBE_I2C_EEPROM_DEV_ADDR2@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x3, sp, #12
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_7
; %bb.5:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_6:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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
	b	_hw_dbg
LBB0_7:
	ldr	w8, [sp, #12]
Lloh12:
	adrp	x22, _IXGBE_SFF_SOFT_RS_SELECT_MASK@GOTPAGE
Lloh13:
	ldr	x22, [x22, _IXGBE_SFF_SOFT_RS_SELECT_MASK@GOTPAGEOFF]
	ldr	w9, [x22]
	bic	w8, w8, w9
	orr	w3, w8, w20
	str	w3, [sp, #12]
	ldr	x8, [x19]
	ldr	w1, [x23]
	ldr	w2, [x21]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_9
; %bb.8:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_9:
	ldr	x8, [x19, #8]
Lloh16:
	adrp	x23, _IXGBE_SFF_SFF_8472_ESCB@GOTPAGE
Lloh17:
	ldr	x23, [x23, _IXGBE_SFF_SFF_8472_ESCB@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w2, [x21]
	add	x3, sp, #12
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_11
; %bb.10:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_11:
	ldr	w8, [sp, #12]
	ldr	w9, [x22]
	bic	w8, w8, w9
	orr	w3, w8, w20
	str	w3, [sp, #12]
	ldr	x8, [x19]
	ldr	w1, [x23]
	ldr	w2, [x21]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_14
; %bb.12:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_13:
	mov	x0, x19
	bl	_hw_dbg
LBB0_14:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_SFF_SOFT_RS_SELECT_10G,4,2 ; @IXGBE_SFF_SOFT_RS_SELECT_10G
	.comm	_IXGBE_SFF_SOFT_RS_SELECT_1G,4,2 ; @IXGBE_SFF_SOFT_RS_SELECT_1G
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid fixed module speed\n"

	.comm	_IXGBE_SFF_SFF_8472_OSCB,4,2    ; @IXGBE_SFF_SFF_8472_OSCB
	.comm	_IXGBE_I2C_EEPROM_DEV_ADDR2,4,2 ; @IXGBE_I2C_EEPROM_DEV_ADDR2
l_.str.1:                               ; @.str.1
	.asciz	"Failed to read Rx Rate Select RS0\n"

	.comm	_IXGBE_SFF_SOFT_RS_SELECT_MASK,4,2 ; @IXGBE_SFF_SOFT_RS_SELECT_MASK
l_.str.2:                               ; @.str.2
	.asciz	"Failed to write Rx Rate Select RS0\n"

	.comm	_IXGBE_SFF_SFF_8472_ESCB,4,2    ; @IXGBE_SFF_SFF_8472_ESCB
l_.str.3:                               ; @.str.3
	.asciz	"Failed to read Rx Rate Select RS1\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to write Rx Rate Select RS1\n"

.subsections_via_symbols
