	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp83640_config_init
_dp83640_config_init:                   ## @dp83640_config_init
	.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, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.1:
	leaq	8(%rbx), %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_mutex_lock
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_enable_broadcast
	movq	%rbx, %rdi
	callq	_mutex_unlock
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_recalibrate
LBB0_4:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_enable_status_frames
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_PAGE4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PTP_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PTP_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_ext_write
	movq	%rbx, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE4,4,2                      ## @PAGE4
	.comm	_PTP_CTL,4,2                    ## @PTP_CTL
	.comm	_PTP_ENABLE,4,2                 ## @PTP_ENABLE
	.no_dead_strip	_dp83640_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp83640_config_init
_dp83640_config_init:                   ; @dp83640_config_init
	.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	x20, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x19, #8
	bl	_list_empty
	cbz	w0, LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_mutex_lock
	ldr	w1, [x19, #4]
	mov	x0, x20
	mov	w2, #1
	bl	_enable_broadcast
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_recalibrate
LBB0_4:
	mov	x0, x20
	mov	w1, #1
	bl	_enable_status_frames
	mov	x0, x19
	bl	_mutex_lock
Lloh0:
	adrp	x8, _PAGE4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE4@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _PTP_CTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTP_CTL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _PTP_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PTP_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	w0, #0
	mov	x1, x20
	bl	_ext_write
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE4,4,2                      ; @PAGE4
	.comm	_PTP_CTL,4,2                    ; @PTP_CTL
	.comm	_PTP_ENABLE,4,2                 ; @PTP_ENABLE
	.no_dead_strip	_dp83640_config_init
.subsections_via_symbols
