	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_register_phc             ## -- Begin function bnx2x_register_phc
	.p2align	4, 0x90
_bnx2x_register_phc:                    ## @bnx2x_register_phc
	.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
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	16(%rdi), %r14
	movl	%eax, 80(%rdi)
	movl	76(%rdi), %edi
	movq	88(%rbx), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movl	$16, %esi
	callq	_snprintf
	movq	_BNX2X_MAX_PHC_DRIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movups	%xmm0, 40(%rbx)
	movq	_bnx2x_ptp_adjfreq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_bnx2x_ptp_adjtime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_bnx2x_ptp_gettime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_bnx2x_ptp_settime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_bnx2x_ptp_enable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ptp_clock_register
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	$0, (%rbx)
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_BNX2X_MAX_PHC_DRIFT,4,2        ## @BNX2X_MAX_PHC_DRIFT
	.comm	_bnx2x_ptp_adjfreq,4,2          ## @bnx2x_ptp_adjfreq
	.comm	_bnx2x_ptp_adjtime,4,2          ## @bnx2x_ptp_adjtime
	.comm	_bnx2x_ptp_gettime,4,2          ## @bnx2x_ptp_gettime
	.comm	_bnx2x_ptp_settime,4,2          ## @bnx2x_ptp_settime
	.comm	_bnx2x_ptp_enable,4,2           ## @bnx2x_ptp_enable
L_.str.1:                               ## @.str.1
	.asciz	"PTP clock registration failed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_register_phc             ; -- Begin function bnx2x_register_phc
	.p2align	2
_bnx2x_register_phc:                    ; @bnx2x_register_phc
	.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
Lloh0:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #80]
	ldr	w0, [x0, #76]
	ldr	x8, [x19, #88]
	ldr	x3, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #16
	bl	_snprintf
Lloh5:
	adrp	x8, _BNX2X_MAX_PHC_DRIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BNX2X_MAX_PHC_DRIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #40]
	stur	q0, [x19, #56]
Lloh8:
	adrp	x8, _bnx2x_ptp_adjfreq@GOTPAGE
Lloh9:
	ldr	x8, [x8, _bnx2x_ptp_adjfreq@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _bnx2x_ptp_adjtime@GOTPAGE
Lloh12:
	ldr	x9, [x9, _bnx2x_ptp_adjtime@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
Lloh14:
	adrp	x8, _bnx2x_ptp_gettime@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bnx2x_ptp_gettime@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _bnx2x_ptp_settime@GOTPAGE
Lloh18:
	ldr	x9, [x9, _bnx2x_ptp_settime@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _bnx2x_ptp_enable@GOTPAGE
Lloh21:
	ldr	x10, [x10, _bnx2x_ptp_enable@GOTPAGEOFF]
	stp	w9, w8, [x19, #20]
Lloh22:
	ldr	w8, [x10]
	mov	x0, x19
	str	w8, [x0, #16]!
	ldr	x1, [x19, #8]
	bl	_ptp_clock_register
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	str	xzr, [x19]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BNX2X_ERR
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_BNX2X_MAX_PHC_DRIFT,4,2        ; @BNX2X_MAX_PHC_DRIFT
	.comm	_bnx2x_ptp_adjfreq,4,2          ; @bnx2x_ptp_adjfreq
	.comm	_bnx2x_ptp_adjtime,4,2          ; @bnx2x_ptp_adjtime
	.comm	_bnx2x_ptp_gettime,4,2          ; @bnx2x_ptp_gettime
	.comm	_bnx2x_ptp_settime,4,2          ; @bnx2x_ptp_settime
	.comm	_bnx2x_ptp_enable,4,2           ; @bnx2x_ptp_enable
l_.str.1:                               ; @.str.1
	.asciz	"PTP clock registration failed\n"

.subsections_via_symbols
