	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_init_ptp
_stmmac_init_ptp:                       ## @stmmac_init_ptp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	56(%rdi), %rax
	movb	$1, %cl
	cmpq	$0, 8(%rax)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, (%rax)
	setne	%cl
LBB0_2:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	cmpq	$0, 40(%rbx)
	je	LBB0_4
LBB0_5:
	movl	$0, (%rbx)
	testb	%cl, %cl
	je	LBB0_7
## %bb.6:
	cmpq	$0, 40(%rbx)
	jne	LBB0_9
LBB0_7:
	xorl	%ecx, %ecx
	cmpq	$0, 48(%rbx)
	je	LBB0_10
## %bb.8:
	cmpq	$0, 40(%rbx)
	je	LBB0_10
LBB0_9:
	movl	$1, (%rbx)
	movl	$1, %ecx
LBB0_10:
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	24(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_info
	movl	(%rbx), %ecx
LBB0_12:
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.13:
	movl	24(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_info
LBB0_14:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%rbx, %rdi
	callq	_stmmac_ptp_register
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IEEE 1588-2002 Timestamp supported\n"

L_.str.1:                               ## @.str.1
	.asciz	"IEEE 1588-2008 Advanced Timestamp supported\n"

	.no_dead_strip	_stmmac_init_ptp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_init_ptp
_stmmac_init_ptp:                       ; @stmmac_init_ptp
	.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, #56]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w9, #1
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_4
	b	LBB0_3
LBB0_2:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w9, ne
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_4
LBB0_3:
	ldr	x10, [x19, #40]
	cbz	x10, LBB0_15
LBB0_4:
	str	wzr, [x19]
	cbz	w9, LBB0_6
; %bb.5:
	ldr	x9, [x19, #40]
	cbnz	x9, LBB0_8
LBB0_6:
	ldr	x9, [x19, #48]
	cbz	x9, LBB0_9
; %bb.7:
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_9
LBB0_8:
	mov	w9, #1
	str	w9, [x19]
LBB0_9:
	cbz	x8, LBB0_11
; %bb.10:
	ldr	w0, [x19, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_info
	ldr	w9, [x19]
LBB0_11:
	cbz	w9, LBB0_13
; %bb.12:
	ldr	w0, [x19, #24]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_info
LBB0_13:
	stp	xzr, xzr, [x19, #8]
	mov	x0, x19
	bl	_stmmac_ptp_register
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IEEE 1588-2002 Timestamp supported\n"

l_.str.1:                               ; @.str.1
	.asciz	"IEEE 1588-2008 Advanced Timestamp supported\n"

	.no_dead_strip	_stmmac_init_ptp
.subsections_via_symbols
