	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sis900_set_config
_sis900_set_config:                     ## @sis900_set_config
	.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	%rsi, %rbx
	movq	%rdi, %r15
	callq	_netdev_priv
	movl	(%rbx), %ecx
	xorl	%r14d, %r14d
	cmpl	$-1, %ecx
	je	LBB0_12
## %bb.1:
	cmpl	(%r15), %ecx
	je	LBB0_12
## %bb.2:
	leal	-128(%rcx), %edx
	cmpl	$6, %edx
	ja	LBB0_6
## %bb.3:
	movq	(%rax), %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movl	%ecx, (%r15)
	movq	%r15, %rdi
	callq	_netif_carrier_off
	movl	(%rbx), %esi
	movq	_MII_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_mdio_read
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	_MII_CNTL_SPEED@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_12
LBB0_8:
	movl	$128, (%r15)
	movq	%r15, %rdi
	callq	_netif_carrier_off
	movl	(%rbx), %esi
	movq	_MII_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_mdio_read
	movl	(%rbx), %esi
	movq	_MII_CNTL_AUTO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r12), %edx
	movq	_MII_CNTL_RST_AUTO@GOTPCREL(%rip), %rcx
LBB0_9:
	orl	(%rcx), %eax
	movq	%r15, %rdi
	movl	%eax, %ecx
	jmp	LBB0_11
LBB0_10:
	movl	$130, (%r15)
	movq	%r15, %rdi
	callq	_netif_carrier_off
	movl	(%rbx), %esi
	movq	_MII_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_mdio_read
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	_MII_CNTL_SPEED@GOTPCREL(%rip), %rdi
	movq	_MII_CNTL_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdi), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	%r15, %rdi
LBB0_11:
	callq	_mdio_write
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_MII_CONTROL,4,2                ## @MII_CONTROL
	.comm	_MII_CNTL_AUTO,4,2              ## @MII_CNTL_AUTO
	.comm	_MII_CNTL_RST_AUTO,4,2          ## @MII_CNTL_RST_AUTO
	.comm	_MII_CNTL_SPEED,4,2             ## @MII_CNTL_SPEED
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_sis900_set_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sis900_set_config
_sis900_set_config:                     ; @sis900_set_config
	.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, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	w8, [x20]
	cmn	w8, #1
	b.eq	LBB0_11
; %bb.1:
	ldr	w9, [x19]
	cmp	w8, w9
	b.eq	LBB0_11
; %bb.2:
	sub	w9, w8, #128
	cmp	w9, #6
	b.hi	LBB0_6
; %bb.3:
	ldr	x20, [x0]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	str	w8, [x19]
	mov	x0, x19
	bl	_netif_carrier_off
	ldr	w1, [x20]
Lloh4:
	adrp	x21, _MII_CONTROL@GOTPAGE
Lloh5:
	ldr	x21, [x21, _MII_CONTROL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_mdio_read
	ldr	w1, [x20]
	ldr	w2, [x21]
Lloh6:
	adrp	x8, _MII_CNTL_SPEED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MII_CNTL_SPEED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w3, w8, w0
	b	LBB0_10
LBB0_6:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_8:
	mov	w8, #128
	str	w8, [x19]
	mov	x0, x19
	bl	_netif_carrier_off
	ldr	w1, [x20]
Lloh11:
	adrp	x21, _MII_CONTROL@GOTPAGE
Lloh12:
	ldr	x21, [x21, _MII_CONTROL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_mdio_read
	ldr	w1, [x20]
	ldr	w2, [x21]
Lloh13:
	adrp	x8, _MII_CNTL_AUTO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MII_CNTL_AUTO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh16:
	adrp	x9, _MII_CNTL_RST_AUTO@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MII_CNTL_RST_AUTO@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w3, w8, w9
	b	LBB0_10
LBB0_9:
	mov	w8, #130
	str	w8, [x19]
	mov	x0, x19
	bl	_netif_carrier_off
	ldr	w1, [x20]
Lloh19:
	adrp	x21, _MII_CONTROL@GOTPAGE
Lloh20:
	ldr	x21, [x21, _MII_CONTROL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_mdio_read
	ldr	w1, [x20]
	ldr	w2, [x21]
Lloh21:
	adrp	x8, _MII_CNTL_SPEED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MII_CNTL_SPEED@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _MII_CNTL_AUTO@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MII_CNTL_AUTO@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w3, w0, w8
LBB0_10:
	mov	x0, x19
	bl	_mdio_write
LBB0_11:
	mov	w0, #0
LBB0_12:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.comm	_MII_CONTROL,4,2                ; @MII_CONTROL
	.comm	_MII_CNTL_AUTO,4,2              ; @MII_CNTL_AUTO
	.comm	_MII_CNTL_RST_AUTO,4,2          ; @MII_CNTL_RST_AUTO
	.comm	_MII_CNTL_SPEED,4,2             ; @MII_CNTL_SPEED
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_sis900_set_config
.subsections_via_symbols
