	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_port_config_ext
_set_port_config_ext:                   ## @set_port_config_ext
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_pxa168_eth_recalc_skb_size
	movl	(%rbx), %eax
	cmpl	$1519, %eax                     ## imm = 0x5EF
	jge	LBB0_2
## %bb.1:
	movq	_PCXR_MFL_1518@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	cmpl	$1537, %eax                     ## imm = 0x601
	jae	LBB0_4
## %bb.3:
	movq	_PCXR_MFL_1536@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpl	$2049, %eax                     ## imm = 0x801
	jae	LBB0_5
## %bb.6:
	movq	_PCXR_MFL_2048@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_PCXR_MFL_64K@GOTPCREL(%rip), %rax
LBB0_7:
	movq	_PORT_CONFIG_EXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_PCXR_AN_SPEED_DIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_PCXR_AN_DUPLEX_DIS@GOTPCREL(%rip), %rcx
	movq	_PCXR_AN_FLOWCTL_DIS@GOTPCREL(%rip), %rdi
	movq	_PCXR_2BSM@GOTPCREL(%rip), %r8
	movq	_PCXR_DSCP_EN@GOTPCREL(%rip), %r9
	movq	_PCXR_FLP@GOTPCREL(%rip), %r10
	movq	_PCXR_TX_HIGH_PRI@GOTPCREL(%rip), %r11
	orl	(%rax), %edx
	orl	(%rcx), %edx
	orl	(%rdi), %edx
	orl	(%r8), %edx
	orl	(%r9), %edx
	orl	(%r10), %edx
	orl	(%r11), %edx
	movq	%rbx, %rdi
	callq	_wrl
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCXR_MFL_1518,4,2              ## @PCXR_MFL_1518
	.comm	_PCXR_MFL_1536,4,2              ## @PCXR_MFL_1536
	.comm	_PCXR_MFL_2048,4,2              ## @PCXR_MFL_2048
	.comm	_PCXR_MFL_64K,4,2               ## @PCXR_MFL_64K
	.comm	_PORT_CONFIG_EXT,4,2            ## @PORT_CONFIG_EXT
	.comm	_PCXR_AN_SPEED_DIS,4,2          ## @PCXR_AN_SPEED_DIS
	.comm	_PCXR_AN_DUPLEX_DIS,4,2         ## @PCXR_AN_DUPLEX_DIS
	.comm	_PCXR_AN_FLOWCTL_DIS,4,2        ## @PCXR_AN_FLOWCTL_DIS
	.comm	_PCXR_2BSM,4,2                  ## @PCXR_2BSM
	.comm	_PCXR_DSCP_EN,4,2               ## @PCXR_DSCP_EN
	.comm	_PCXR_FLP,4,2                   ## @PCXR_FLP
	.comm	_PCXR_TX_HIGH_PRI,4,2           ## @PCXR_TX_HIGH_PRI
	.no_dead_strip	_set_port_config_ext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_port_config_ext
_set_port_config_ext:                   ; @set_port_config_ext
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_pxa168_eth_recalc_skb_size
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _PCXR_MFL_1518@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCXR_MFL_1518@GOTPAGEOFF]
Lloh2:
	adrp	x10, _PCXR_MFL_1536@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PCXR_MFL_1536@GOTPAGEOFF]
Lloh4:
	adrp	x11, _PCXR_MFL_64K@GOTPAGE
Lloh5:
	ldr	x11, [x11, _PCXR_MFL_64K@GOTPAGEOFF]
Lloh6:
	adrp	x12, _PCXR_MFL_2048@GOTPAGE
Lloh7:
	ldr	x12, [x12, _PCXR_MFL_2048@GOTPAGEOFF]
	cmp	w8, #2049
	csel	x11, x12, x11, lo
	cmp	w8, #1537
	csel	x10, x10, x11, lo
	cmp	w8, #1519
	csel	x8, x9, x10, lt
Lloh8:
	adrp	x9, _PORT_CONFIG_EXT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PORT_CONFIG_EXT@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh10:
	ldr	w1, [x9]
Lloh11:
	adrp	x9, _PCXR_AN_SPEED_DIS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PCXR_AN_SPEED_DIS@GOTPAGEOFF]
Lloh13:
	adrp	x10, _PCXR_AN_DUPLEX_DIS@GOTPAGE
Lloh14:
	ldr	x10, [x10, _PCXR_AN_DUPLEX_DIS@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	adrp	x11, _PCXR_AN_FLOWCTL_DIS@GOTPAGE
Lloh18:
	ldr	x11, [x11, _PCXR_AN_FLOWCTL_DIS@GOTPAGEOFF]
Lloh19:
	adrp	x12, _PCXR_2BSM@GOTPAGE
Lloh20:
	ldr	x12, [x12, _PCXR_2BSM@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
Lloh22:
	ldr	w12, [x12]
Lloh23:
	adrp	x13, _PCXR_DSCP_EN@GOTPAGE
Lloh24:
	ldr	x13, [x13, _PCXR_DSCP_EN@GOTPAGEOFF]
Lloh25:
	adrp	x14, _PCXR_FLP@GOTPAGE
Lloh26:
	ldr	x14, [x14, _PCXR_FLP@GOTPAGEOFF]
Lloh27:
	ldr	w13, [x13]
Lloh28:
	ldr	w14, [x14]
Lloh29:
	adrp	x15, _PCXR_TX_HIGH_PRI@GOTPAGE
Lloh30:
	ldr	x15, [x15, _PCXR_TX_HIGH_PRI@GOTPAGEOFF]
Lloh31:
	ldr	w15, [x15]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	orr	w8, w8, w13
	orr	w8, w8, w14
	orr	w2, w8, w15
	mov	x0, x19
	bl	_wrl
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCXR_MFL_1518,4,2              ; @PCXR_MFL_1518
	.comm	_PCXR_MFL_1536,4,2              ; @PCXR_MFL_1536
	.comm	_PCXR_MFL_2048,4,2              ; @PCXR_MFL_2048
	.comm	_PCXR_MFL_64K,4,2               ; @PCXR_MFL_64K
	.comm	_PORT_CONFIG_EXT,4,2            ; @PORT_CONFIG_EXT
	.comm	_PCXR_AN_SPEED_DIS,4,2          ; @PCXR_AN_SPEED_DIS
	.comm	_PCXR_AN_DUPLEX_DIS,4,2         ; @PCXR_AN_DUPLEX_DIS
	.comm	_PCXR_AN_FLOWCTL_DIS,4,2        ; @PCXR_AN_FLOWCTL_DIS
	.comm	_PCXR_2BSM,4,2                  ; @PCXR_2BSM
	.comm	_PCXR_DSCP_EN,4,2               ; @PCXR_DSCP_EN
	.comm	_PCXR_FLP,4,2                   ; @PCXR_FLP
	.comm	_PCXR_TX_HIGH_PRI,4,2           ; @PCXR_TX_HIGH_PRI
	.no_dead_strip	_set_port_config_ext
.subsections_via_symbols
