	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hpt37x_calibrate_dpll
_hpt37x_calibrate_dpll:                 ## @hpt37x_calibrate_dpll
	.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, %r15
	movl	$20480, %ebx                    ## imm = 0x5000
	leaq	-28(%rbp), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$50, %edi
	callq	_udelay
	movq	%r15, %rdi
	movl	$91, %esi
	movq	%r14, %rdx
	callq	_pci_read_config_byte
	testb	$-128, -28(%rbp)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%ebx
	jne	LBB0_1
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	movl	$4096, %ebx                     ## imm = 0x1000
	leaq	-28(%rbp), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$91, %esi
	movq	%r14, %rdx
	callq	_pci_read_config_byte
	testb	$-128, -28(%rbp)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%ebx
	jne	LBB0_5
## %bb.7:
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movl	$92, %esi
	callq	_pci_read_config_dword
	movl	$-257, %edx                     ## imm = 0xFEFF
	andl	-32(%rbp), %edx
	movq	%r15, %rdi
	movl	$92, %esi
	callq	_pci_write_config_dword
	movl	$1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hpt37x_calibrate_dpll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hpt37x_calibrate_dpll
_hpt37x_calibrate_dpll:                 ; @hpt37x_calibrate_dpll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w20, #20480
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #50
	bl	_udelay
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #91
	bl	_pci_read_config_byte
	ldrb	w8, [sp, #12]
	tbnz	w8, #7, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	w20, w20, #1
	b.ne	LBB0_1
LBB0_3:
	mov	w0, #0
	b	LBB0_8
LBB0_4:
	mov	w20, #4096
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #91
	bl	_pci_read_config_byte
	ldrb	w8, [sp, #12]
	tbz	w8, #7, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	subs	w20, w20, #1
	b.ne	LBB0_5
; %bb.7:
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #92
	bl	_pci_read_config_dword
	ldr	w8, [sp, #8]
	and	w2, w8, #0xfffffeff
	mov	x0, x19
	mov	w1, #92
	bl	_pci_write_config_dword
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hpt37x_calibrate_dpll
.subsections_via_symbols
