	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8367b_extif_set_force
_rtl8367b_extif_set_force:              ## @rtl8367b_extif_set_force
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RTL8367B_DI_FORCE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_RTL8367B_DI_FORCE_NWAY@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	%r10d, %eax
	orl	%r8d, %eax
	movq	_RTL8367B_DI_FORCE_TXPAUSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movq	_RTL8367B_DI_FORCE_RXPAUSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movl	%r11d, %ecx
	orl	%r9d, %ecx
	orl	%eax, %ecx
	movq	_RTL8367B_DI_FORCE_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RTL8367B_DI_FORCE_DUPLEX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	movl	%eax, %r14d
	orl	%ebx, %r14d
	orl	%ecx, %r14d
	movq	_RTL8367B_DI_FORCE_SPEED_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r14d
	xorl	%ecx, %ecx
	cmpq	$0, 48(%rdx)
	cmovel	%ecx, %r8d
	orl	(%rdx), %r8d
	cmpq	$0, 40(%rdx)
	cmovel	%ecx, %r10d
	cmpq	$0, 32(%rdx)
	cmovel	%ecx, %r11d
	orl	%r10d, %r11d
	cmpq	$0, 24(%rdx)
	cmovel	%ecx, %r9d
	orl	%r11d, %r9d
	cmpq	$0, 16(%rdx)
	cmovel	%ecx, %eax
	movq	%rdi, %r15
	orl	%r9d, %eax
	cmpq	$0, 8(%rdx)
	cmovel	%ecx, %ebx
	orl	%eax, %ebx
	orl	%r8d, %ebx
	movl	%esi, %edi
	callq	_RTL8367B_DI_FORCE_REG
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_REG_RMW
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTL8367B_DI_FORCE_MODE,4,2     ## @RTL8367B_DI_FORCE_MODE
	.comm	_RTL8367B_DI_FORCE_NWAY,4,2     ## @RTL8367B_DI_FORCE_NWAY
	.comm	_RTL8367B_DI_FORCE_TXPAUSE,4,2  ## @RTL8367B_DI_FORCE_TXPAUSE
	.comm	_RTL8367B_DI_FORCE_RXPAUSE,4,2  ## @RTL8367B_DI_FORCE_RXPAUSE
	.comm	_RTL8367B_DI_FORCE_LINK,4,2     ## @RTL8367B_DI_FORCE_LINK
	.comm	_RTL8367B_DI_FORCE_DUPLEX,4,2   ## @RTL8367B_DI_FORCE_DUPLEX
	.comm	_RTL8367B_DI_FORCE_SPEED_MASK,4,2 ## @RTL8367B_DI_FORCE_SPEED_MASK
	.no_dead_strip	_rtl8367b_extif_set_force
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8367b_extif_set_force
_rtl8367b_extif_set_force:              ; @rtl8367b_extif_set_force
	.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	x19, x0
Lloh0:
	adrp	x8, _RTL8367B_DI_FORCE_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTL8367B_DI_FORCE_MODE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RTL8367B_DI_FORCE_NWAY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RTL8367B_DI_FORCE_NWAY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w10, w9, w8
Lloh6:
	adrp	x11, _RTL8367B_DI_FORCE_TXPAUSE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _RTL8367B_DI_FORCE_TXPAUSE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh9:
	adrp	x12, _RTL8367B_DI_FORCE_RXPAUSE@GOTPAGE
Lloh10:
	ldr	x12, [x12, _RTL8367B_DI_FORCE_RXPAUSE@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
Lloh12:
	adrp	x13, _RTL8367B_DI_FORCE_LINK@GOTPAGE
Lloh13:
	ldr	x13, [x13, _RTL8367B_DI_FORCE_LINK@GOTPAGEOFF]
	orr	w10, w10, w12
Lloh14:
	ldr	w13, [x13]
	orr	w10, w10, w13
Lloh15:
	adrp	x14, _RTL8367B_DI_FORCE_DUPLEX@GOTPAGE
Lloh16:
	ldr	x14, [x14, _RTL8367B_DI_FORCE_DUPLEX@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
	orr	w10, w10, w14
Lloh18:
	adrp	x15, _RTL8367B_DI_FORCE_SPEED_MASK@GOTPAGE
Lloh19:
	ldr	x15, [x15, _RTL8367B_DI_FORCE_SPEED_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w15, [x15]
	orr	w20, w10, w15
	ldp	x15, x10, [x2, #40]
	cmp	x10, #0
	ldr	w10, [x2]
	csel	w8, wzr, w8, eq
	orr	w8, w8, w10
	cmp	x15, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
	ldp	x10, x9, [x2, #24]
	cmp	x9, #0
	csel	w9, wzr, w11, eq
	orr	w8, w8, w9
	cmp	x10, #0
	csel	w9, wzr, w12, eq
	orr	w8, w8, w9
	ldp	x10, x9, [x2, #8]
	cmp	x9, #0
	csel	w9, wzr, w13, eq
	orr	w8, w8, w9
	cmp	x10, #0
	csel	w9, wzr, w14, eq
	orr	w21, w8, w9
	mov	x0, x1
	bl	_RTL8367B_DI_FORCE_REG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_REG_RMW
	mov	w0, #0
	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
	.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	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RTL8367B_DI_FORCE_MODE,4,2     ; @RTL8367B_DI_FORCE_MODE
	.comm	_RTL8367B_DI_FORCE_NWAY,4,2     ; @RTL8367B_DI_FORCE_NWAY
	.comm	_RTL8367B_DI_FORCE_TXPAUSE,4,2  ; @RTL8367B_DI_FORCE_TXPAUSE
	.comm	_RTL8367B_DI_FORCE_RXPAUSE,4,2  ; @RTL8367B_DI_FORCE_RXPAUSE
	.comm	_RTL8367B_DI_FORCE_LINK,4,2     ; @RTL8367B_DI_FORCE_LINK
	.comm	_RTL8367B_DI_FORCE_DUPLEX,4,2   ; @RTL8367B_DI_FORCE_DUPLEX
	.comm	_RTL8367B_DI_FORCE_SPEED_MASK,4,2 ; @RTL8367B_DI_FORCE_SPEED_MASK
	.no_dead_strip	_rtl8367b_extif_set_force
.subsections_via_symbols
