	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_cmd_set_port_settings_ethtool_prep
_rocker_cmd_set_port_settings_ethtool_prep: ## @rocker_cmd_set_port_settings_ethtool_prep
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_ROCKER_TLV_CMD_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rocker_tlv_put_u16
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ROCKER_TLV_CMD_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rocker_tlv_nest_start
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	_ROCKER_TLV_CMD_PORT_SETTINGS_PPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_rocker_tlv_put_u32
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movq	_ROCKER_TLV_CMD_PORT_SETTINGS_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	callq	_rocker_tlv_put_u32
	testq	%rax, %rax
	jne	LBB0_1
## %bb.5:
	movq	_ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	callq	_rocker_tlv_put_u8
	testq	%rax, %rax
	jne	LBB0_1
## %bb.6:
	movq	_ROCKER_TLV_CMD_PORT_SETTINGS_AUTONEG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_rocker_tlv_put_u8
	testq	%rax, %rax
	jne	LBB0_1
## %bb.7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_rocker_tlv_nest_end
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCKER_TLV_CMD_TYPE,4,2        ## @ROCKER_TLV_CMD_TYPE
	.comm	_ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS,4,2 ## @ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_ROCKER_TLV_CMD_INFO,4,2        ## @ROCKER_TLV_CMD_INFO
	.comm	_ROCKER_TLV_CMD_PORT_SETTINGS_PPORT,4,2 ## @ROCKER_TLV_CMD_PORT_SETTINGS_PPORT
	.comm	_ROCKER_TLV_CMD_PORT_SETTINGS_SPEED,4,2 ## @ROCKER_TLV_CMD_PORT_SETTINGS_SPEED
	.comm	_ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX,4,2 ## @ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX
	.comm	_ROCKER_TLV_CMD_PORT_SETTINGS_AUTONEG,4,2 ## @ROCKER_TLV_CMD_PORT_SETTINGS_AUTONEG
	.no_dead_strip	_rocker_cmd_set_port_settings_ethtool_prep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_cmd_set_port_settings_ethtool_prep
_rocker_cmd_set_port_settings_ethtool_prep: ; @rocker_cmd_set_port_settings_ethtool_prep
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _ROCKER_TLV_CMD_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROCKER_TLV_CMD_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rocker_tlv_put_u16
	cbz	x0, LBB0_3
LBB0_1:
Lloh6:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh9:
	adrp	x8, _ROCKER_TLV_CMD_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROCKER_TLV_CMD_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_tlv_nest_start
	cbz	x0, LBB0_1
; %bb.4:
	mov	x21, x0
Lloh12:
	adrp	x8, _ROCKER_TLV_CMD_PORT_SETTINGS_PPORT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ROCKER_TLV_CMD_PORT_SETTINGS_PPORT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_rocker_tlv_put_u32
	cbnz	x0, LBB0_1
; %bb.5:
Lloh15:
	adrp	x8, _ROCKER_TLV_CMD_PORT_SETTINGS_SPEED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ROCKER_TLV_CMD_PORT_SETTINGS_SPEED@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_rocker_tlv_put_u32
	cbnz	x0, LBB0_1
; %bb.6:
Lloh18:
	adrp	x8, _ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_rocker_tlv_put_u8
	cbnz	x0, LBB0_1
; %bb.7:
Lloh21:
	adrp	x8, _ROCKER_TLV_CMD_PORT_SETTINGS_AUTONEG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ROCKER_TLV_CMD_PORT_SETTINGS_AUTONEG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_rocker_tlv_put_u8
	cbnz	x0, LBB0_1
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	bl	_rocker_tlv_nest_end
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCKER_TLV_CMD_TYPE,4,2        ; @ROCKER_TLV_CMD_TYPE
	.comm	_ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS,4,2 ; @ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_ROCKER_TLV_CMD_INFO,4,2        ; @ROCKER_TLV_CMD_INFO
	.comm	_ROCKER_TLV_CMD_PORT_SETTINGS_PPORT,4,2 ; @ROCKER_TLV_CMD_PORT_SETTINGS_PPORT
	.comm	_ROCKER_TLV_CMD_PORT_SETTINGS_SPEED,4,2 ; @ROCKER_TLV_CMD_PORT_SETTINGS_SPEED
	.comm	_ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX,4,2 ; @ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX
	.comm	_ROCKER_TLV_CMD_PORT_SETTINGS_AUTONEG,4,2 ; @ROCKER_TLV_CMD_PORT_SETTINGS_AUTONEG
	.no_dead_strip	_rocker_cmd_set_port_settings_ethtool_prep
.subsections_via_symbols
