	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uli526x_sense_speed
_uli526x_sense_speed:                   ## @uli526x_sense_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %esi
	movl	$1, %r14d
	movl	$1, %edx
	callq	*16(%rdi)
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	*16(%rbx)
	movl	%eax, %ecx
	notl	%ecx
	testb	$36, %cl
	jne	LBB0_9
## %bb.1:
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	*16(%rbx)
	testl	$256, %eax                      ## imm = 0x100
	jne	LBB0_8
## %bb.2:
	testb	$-128, %al
	jne	LBB0_7
## %bb.3:
	testb	$64, %al
	jne	LBB0_6
## %bb.4:
	movq	_ULI526X_10MHF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_9:
	movq	_ULI526X_10MHF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rbx)
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	movl	%eax, %edx
	callq	_ULI526X_DBUG
	jmp	LBB0_10
LBB0_8:
	movq	_ULI526X_100MFD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_ULI526X_100MHF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	movq	_ULI526X_10MFD@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ULI526X_10MHF,8,3              ## @ULI526X_10MHF
	.comm	_ULI526X_10MFD,8,3              ## @ULI526X_10MFD
	.comm	_ULI526X_100MHF,8,3             ## @ULI526X_100MHF
	.comm	_ULI526X_100MFD,8,3             ## @ULI526X_100MFD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Link Failed :"

	.no_dead_strip	_uli526x_sense_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uli526x_sense_speed
_uli526x_sense_speed:                   ; @uli526x_sense_speed
	.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
	ldr	x8, [x0, #16]
	ldr	w1, [x0, #8]
	mov	w2, #1
	blr	x8
	ldr	x8, [x19, #16]
	ldr	w1, [x19, #8]
	mov	x0, x19
	mov	w2, #1
	blr	x8
	mov	w8, #36
	bics	wzr, w8, w0
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w1, [x19, #8]
	mov	x0, x19
	mov	w2, #5
	blr	x8
	tbnz	w0, #8, LBB0_6
; %bb.2:
	tbnz	w0, #7, LBB0_7
; %bb.3:
	tbnz	w0, #6, LBB0_8
; %bb.4:
	mov	w0, #0
Lloh0:
	adrp	x8, _ULI526X_10MHF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ULI526X_10MHF@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	mov	x2, x0
Lloh2:
	adrp	x8, _ULI526X_10MHF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ULI526X_10MHF@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_ULI526X_DBUG
	mov	w0, #1
	b	LBB0_10
LBB0_6:
	mov	w0, #0
Lloh7:
	adrp	x8, _ULI526X_100MFD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ULI526X_100MFD@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	w0, #0
Lloh9:
	adrp	x8, _ULI526X_100MHF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ULI526X_100MHF@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	w0, #0
Lloh11:
	adrp	x8, _ULI526X_10MFD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ULI526X_10MFD@GOTPAGEOFF]
LBB0_9:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ULI526X_10MHF,8,3              ; @ULI526X_10MHF
	.comm	_ULI526X_10MFD,8,3              ; @ULI526X_10MFD
	.comm	_ULI526X_100MHF,8,3             ; @ULI526X_100MHF
	.comm	_ULI526X_100MFD,8,3             ; @ULI526X_100MFD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Link Failed :"

	.no_dead_strip	_uli526x_sense_speed
.subsections_via_symbols
