	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_pscr
_init_pscr:                             ## @init_pscr
	.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	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	_PORT_SERIAL_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_rdlp
	movq	_SERIAL_PORT_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	notl	%ecx
	andl	%ecx, %eax
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_wrlp
LBB0_2:
	movq	_MAX_RX_PACKET_9700BYTE@GOTPCREL(%rip), %rax
	movq	_SERIAL_PORT_CONTROL_RESERVED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	cmpl	$0, (%r13)
	jne	LBB0_10
## %bb.3:
	movq	_DISABLE_AUTO_NEG_SPEED_GMII@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_SET_GMII_SPEED_TO_1000@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_8
## %bb.6:
	movq	_SET_MII_SPEED_TO_100@GOTPCREL(%rip), %rax
LBB0_7:
	orl	(%rax), %edx
LBB0_8:
	movq	_DISABLE_AUTO_NEG_FOR_FLOW_CTRL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_DISABLE_AUTO_NEG_FOR_DUPLEX@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	_SET_FULL_DUPLEX_MODE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
LBB0_10:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wrlp                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_SERIAL_CONTROL,4,2        ## @PORT_SERIAL_CONTROL
	.comm	_SERIAL_PORT_ENABLE,4,2         ## @SERIAL_PORT_ENABLE
	.comm	_MAX_RX_PACKET_9700BYTE,4,2     ## @MAX_RX_PACKET_9700BYTE
	.comm	_SERIAL_PORT_CONTROL_RESERVED,4,2 ## @SERIAL_PORT_CONTROL_RESERVED
	.comm	_DISABLE_AUTO_NEG_SPEED_GMII,4,2 ## @DISABLE_AUTO_NEG_SPEED_GMII
	.comm	_SPEED_1000,4,2                 ## @SPEED_1000
	.comm	_SET_GMII_SPEED_TO_1000,4,2     ## @SET_GMII_SPEED_TO_1000
	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.comm	_SET_MII_SPEED_TO_100,4,2       ## @SET_MII_SPEED_TO_100
	.comm	_DISABLE_AUTO_NEG_FOR_FLOW_CTRL,4,2 ## @DISABLE_AUTO_NEG_FOR_FLOW_CTRL
	.comm	_DISABLE_AUTO_NEG_FOR_DUPLEX,4,2 ## @DISABLE_AUTO_NEG_FOR_DUPLEX
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_SET_FULL_DUPLEX_MODE,4,2       ## @SET_FULL_DUPLEX_MODE
	.no_dead_strip	_init_pscr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_pscr
_init_pscr:                             ; @init_pscr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [x0]
Lloh0:
	adrp	x22, _PORT_SERIAL_CONTROL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PORT_SERIAL_CONTROL@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_rdlp
Lloh2:
	adrp	x8, _SERIAL_PORT_ENABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SERIAL_PORT_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	bic	w2, w0, w8
	ldr	w1, [x22]
	mov	x0, x19
	bl	_wrlp
LBB0_2:
Lloh5:
	adrp	x8, _MAX_RX_PACKET_9700BYTE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_RX_PACKET_9700BYTE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _SERIAL_PORT_CONTROL_RESERVED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SERIAL_PORT_CONTROL_RESERVED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	w8, [x23]
	cbnz	w8, LBB0_10
; %bb.3:
Lloh11:
	adrp	x8, _DISABLE_AUTO_NEG_SPEED_GMII@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DISABLE_AUTO_NEG_SPEED_GMII@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w8, w8, w2
Lloh14:
	adrp	x9, _SPEED_1000@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SPEED_1000@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_5
; %bb.4:
Lloh17:
	adrp	x9, _SET_GMII_SPEED_TO_1000@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SET_GMII_SPEED_TO_1000@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh19:
	adrp	x9, _SPEED_100@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SPEED_100@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_8
; %bb.6:
Lloh22:
	adrp	x9, _SET_MII_SPEED_TO_100@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SET_MII_SPEED_TO_100@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_8:
Lloh24:
	adrp	x9, _DISABLE_AUTO_NEG_FOR_FLOW_CTRL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _DISABLE_AUTO_NEG_FOR_FLOW_CTRL@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _DISABLE_AUTO_NEG_FOR_DUPLEX@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DISABLE_AUTO_NEG_FOR_DUPLEX@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w2, w8, w9
Lloh30:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.9:
Lloh33:
	adrp	x8, _SET_FULL_DUPLEX_MODE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SET_FULL_DUPLEX_MODE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	orr	w2, w8, w2
LBB0_10:
	ldr	w1, [x22]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wrlp
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_SERIAL_CONTROL,4,2        ; @PORT_SERIAL_CONTROL
	.comm	_SERIAL_PORT_ENABLE,4,2         ; @SERIAL_PORT_ENABLE
	.comm	_MAX_RX_PACKET_9700BYTE,4,2     ; @MAX_RX_PACKET_9700BYTE
	.comm	_SERIAL_PORT_CONTROL_RESERVED,4,2 ; @SERIAL_PORT_CONTROL_RESERVED
	.comm	_DISABLE_AUTO_NEG_SPEED_GMII,4,2 ; @DISABLE_AUTO_NEG_SPEED_GMII
	.comm	_SPEED_1000,4,2                 ; @SPEED_1000
	.comm	_SET_GMII_SPEED_TO_1000,4,2     ; @SET_GMII_SPEED_TO_1000
	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.comm	_SET_MII_SPEED_TO_100,4,2       ; @SET_MII_SPEED_TO_100
	.comm	_DISABLE_AUTO_NEG_FOR_FLOW_CTRL,4,2 ; @DISABLE_AUTO_NEG_FOR_FLOW_CTRL
	.comm	_DISABLE_AUTO_NEG_FOR_DUPLEX,4,2 ; @DISABLE_AUTO_NEG_FOR_DUPLEX
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_SET_FULL_DUPLEX_MODE,4,2       ; @SET_FULL_DUPLEX_MODE
	.no_dead_strip	_init_pscr
.subsections_via_symbols
