	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp83640_probe
_dp83640_probe:                         ## @dp83640_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	movq	(%rdi), %rax
	movq	_BROADCAST_ADDR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movl	12(%rdi), %edi
	callq	_dp83640_clock_get_bus
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %r13
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, 48(%rax)
	leaq	44(%rax), %rdi
	movq	_rx_timestamp_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	40(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	28(%r13), %rbx
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	movq	_MAX_RXTS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.4:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rdi
	addq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_list_add
	incq	%r15
	movslq	(%r12), %rax
	addq	$4, %r14
	cmpq	%rax, %r15
	jl	LBB0_5
LBB0_6:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r13, 16(%r14)
	leaq	24(%r13), %rdi
	callq	_spin_lock_init
	leaq	20(%r13), %rdi
	callq	_skb_queue_head_init
	movq	%r13, %rdi
	addq	$16, %rdi
	callq	_skb_queue_head_init
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, 8(%r13)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_choose_this_phy
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%r13, (%r15)
	movq	%r15, %rdi
	addq	$16, %rdi
	addq	$8, %r14
	movq	%r14, %rsi
	callq	_ptp_clock_register
	movl	%eax, 12(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	12(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %r12d
	movq	$0, (%r15)
	movq	%r13, %rdi
	callq	_kfree
	jmp	LBB0_11
LBB0_9:
	movq	%r15, %rsi
	addq	$8, %rsi
	movq	%r13, %rdi
	callq	_list_add_tail
LBB0_10:
	xorl	%r12d, %r12d
LBB0_11:
	movq	%r15, %rdi
	callq	_dp83640_clock_put
LBB0_12:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_BROADCAST_ADDR,8,3             ## @BROADCAST_ADDR
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_rx_timestamp_work,4,2          ## @rx_timestamp_work
	.comm	_MAX_RXTS,4,2                   ## @MAX_RXTS
	.no_dead_strip	_dp83640_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp83640_probe
_dp83640_probe:                         ; @dp83640_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	w22, #0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BROADCAST_ADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BROADCAST_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	ldr	w0, [x0, #12]
	bl	_dp83640_clock_get_bus
	cbz	x0, LBB0_12
; %bb.2:
	mov	x19, x0
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_11
; %bb.3:
	mov	x21, x0
	str	x20, [x0, #48]
	add	x0, x0, #44
Lloh9:
	adrp	x8, _rx_timestamp_work@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rx_timestamp_work@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x21, #40
	bl	_INIT_LIST_HEAD
	add	x22, x21, #28
	mov	x0, x22
	bl	_INIT_LIST_HEAD
Lloh12:
	adrp	x23, _MAX_RXTS@GOTPAGE
Lloh13:
	ldr	x23, [x23, _MAX_RXTS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x24, #0
	mov	x25, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #32]
	add	x0, x8, x24
	mov	x1, x22
	bl	_list_add
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	x24, x24, #4
	cmp	x25, x8
	b.lt	LBB0_5
LBB0_6:
	str	x21, [x20, #16]
	add	x0, x21, #24
	bl	_spin_lock_init
	add	x0, x21, #20
	bl	_skb_queue_head_init
	add	x0, x21, #16
	bl	_skb_queue_head_init
	str	x19, [x21, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_choose_this_phy
	cbz	x0, LBB0_9
; %bb.7:
	str	x21, [x19]
	add	x0, x19, #16
	add	x1, x20, #8
	bl	_ptp_clock_register
	str	w0, [x19, #12]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w0, [x19, #12]
	bl	_PTR_ERR
	mov	x22, x0
	str	xzr, [x19]
	mov	x0, x21
	bl	_kfree
	b	LBB0_11
LBB0_9:
	add	x1, x19, #8
	mov	x0, x21
	bl	_list_add_tail
LBB0_10:
	mov	w22, #0
LBB0_11:
	mov	x0, x19
	bl	_dp83640_clock_put
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_BROADCAST_ADDR,8,3             ; @BROADCAST_ADDR
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_rx_timestamp_work,4,2          ; @rx_timestamp_work
	.comm	_MAX_RXTS,4,2                   ; @MAX_RXTS
	.no_dead_strip	_dp83640_probe
.subsections_via_symbols
