	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uli526x_open
_uli526x_open:                          ## @uli526x_open
	.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	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_ULI526X_DBUG
	movq	_CR6_DEFAULT@GOTPCREL(%rip), %rax
	movq	_uli526x_cr6_user_set@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movl	$1, 4(%rbx)
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	$0, 40(%rbx)
	movabsq	$2061584302095, %rax            ## imm = 0x1E00000000F
	movq	%rax, 8(%rbx)
	movq	_ULI526X_TXTH_256@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_CR0_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r14, %rdi
	callq	_uli526x_init
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movq	_uli526x_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movq	%r14, %r8
	callq	_request_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_netif_wake_queue
	movq	%rbx, %r14
	addq	$16, %r14
	movq	_uli526x_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_ULI526X_TIMER_WUT@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%rcx, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 16(%rbx)
	movq	%r14, %rdi
	callq	_add_timer
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uli526x_open"

	.comm	_CR6_DEFAULT,4,2                ## @CR6_DEFAULT
	.comm	_uli526x_cr6_user_set,4,2       ## @uli526x_cr6_user_set
	.comm	_ULI526X_TXTH_256,4,2           ## @ULI526X_TXTH_256
	.comm	_CR0_DEFAULT,4,2                ## @CR0_DEFAULT
	.comm	_uli526x_interrupt,4,2          ## @uli526x_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_uli526x_timer,4,2              ## @uli526x_timer
	.comm	_ULI526X_TIMER_WUT,8,3          ## @ULI526X_TIMER_WUT
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_uli526x_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function uli526x_open
lCPI0_0:
	.long	15                              ; 0xf
	.long	480                             ; 0x1e0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_uli526x_open:                          ; @uli526x_open
	.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, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	mov	w2, #0
	bl	_ULI526X_DBUG
Lloh2:
	adrp	x8, _CR6_DEFAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CR6_DEFAULT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _uli526x_cr6_user_set@GOTPAGE
Lloh6:
	ldr	x9, [x9, _uli526x_cr6_user_set@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	xzr, xzr, [x19, #48]
	mov	w9, #1
	stp	w8, w9, [x19]
	mov	x0, x20
	bl	_netif_carrier_off
	str	xzr, [x19, #40]
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #8]
Lloh10:
	adrp	x8, _ULI526X_TXTH_256@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ULI526X_TXTH_256@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh13:
	adrp	x8, _CR0_DEFAULT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CR0_DEFAULT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	mov	x0, x20
	bl	_uli526x_init
	ldr	x8, [x19, #24]
Lloh16:
	adrp	x9, _uli526x_interrupt@GOTPAGE
Lloh17:
	ldr	x9, [x9, _uli526x_interrupt@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh18:
	ldr	w1, [x9]
Lloh19:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	x4, x20
	bl	_request_irq
	mov	x21, x0
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_netif_wake_queue
	add	x20, x19, #16
Lloh22:
	adrp	x8, _uli526x_timer@GOTPAGE
Lloh23:
	ldr	x8, [x8, _uli526x_timer@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_timer_setup
Lloh25:
	adrp	x8, _ULI526X_TIMER_WUT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ULI526X_TIMER_WUT@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	adrp	x9, _HZ@GOTPAGE
Lloh29:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh30:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #1
	str	x8, [x19, #16]
	mov	x0, x20
	bl	_add_timer
LBB0_2:
	mov	x0, x21
	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	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uli526x_open"

	.comm	_CR6_DEFAULT,4,2                ; @CR6_DEFAULT
	.comm	_uli526x_cr6_user_set,4,2       ; @uli526x_cr6_user_set
	.comm	_ULI526X_TXTH_256,4,2           ; @ULI526X_TXTH_256
	.comm	_CR0_DEFAULT,4,2                ; @CR0_DEFAULT
	.comm	_uli526x_interrupt,4,2          ; @uli526x_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_uli526x_timer,4,2              ; @uli526x_timer
	.comm	_ULI526X_TIMER_WUT,8,3          ; @ULI526X_TIMER_WUT
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_uli526x_open
.subsections_via_symbols
