	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ptp_xmit_skb
_efx_ptp_xmit_skb:                      ## @efx_ptp_xmit_skb
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	(%rax), %r12
	movl	8(%rsi), %edi
	callq	_MC_CMD_PTP_IN_TRANSMIT_LEN
	movl	%eax, %edi
	movl	$4, %esi
	callq	_ALIGN
	movq	%rax, %r13
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -88(%rbp)
	movq	_MC_CMD_PTP_OUT_TRANSMIT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	(,%r14,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_PTP_IN_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MC_CMD_PTP_OP_TRANSMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_MCDI_SET_DWORD
	movq	_PTP_IN_TRANSMIT_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%r12, %rdi
	callq	_MCDI_SET_DWORD
	movq	%rbx, %rdi
	callq	_skb_shinfo
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_linearize
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
LBB0_2:
	movq	(%rbx), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_skb_checksum_help
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
LBB0_4:
	movq	_MC_CMD_PTP_IN_TRANSMIT_PACKET_OFST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%rax,4), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_skb_copy_from_linear_data
	movq	_MC_CMD_PTP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %r14d
	subq	$8, %rsp
	leaq	-88(%rbp), %rax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	%r14d, %r9d
	pushq	%rax
	callq	_efx_mcdi_rpc
	addq	$16, %rsp
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	leaq	-56(%rbp), %r14
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_PTP_OUT_TRANSMIT_SECONDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_MCDI_DWORD
	movl	%eax, %r12d
	movq	_PTP_OUT_TRANSMIT_NANOSECONDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_MCDI_DWORD
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ktime_set
	movl	%eax, -56(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_skb_tstamp_tx
LBB0_6:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_MC_CMD_PTP_OUT_TRANSMIT_LEN,4,2 ## @MC_CMD_PTP_OUT_TRANSMIT_LEN
	.comm	_PTP_IN_OP,4,2                  ## @PTP_IN_OP
	.comm	_MC_CMD_PTP_OP_TRANSMIT,4,2     ## @MC_CMD_PTP_OP_TRANSMIT
	.comm	_PTP_IN_TRANSMIT_LENGTH,4,2     ## @PTP_IN_TRANSMIT_LENGTH
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_MC_CMD_PTP_IN_TRANSMIT_PACKET_OFST,8,3 ## @MC_CMD_PTP_IN_TRANSMIT_PACKET_OFST
	.comm	_MC_CMD_PTP,4,2                 ## @MC_CMD_PTP
	.comm	_PTP_OUT_TRANSMIT_SECONDS,4,2   ## @PTP_OUT_TRANSMIT_SECONDS
	.comm	_PTP_OUT_TRANSMIT_NANOSECONDS,4,2 ## @PTP_OUT_TRANSMIT_NANOSECONDS
	.no_dead_strip	_efx_ptp_xmit_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ptp_xmit_skb
_efx_ptp_xmit_skb:                      ; @efx_ptp_xmit_skb
	.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
	sub	sp, sp, #32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x8, [x0]
	ldr	x22, [x8]
	ldr	w0, [x1, #8]
	bl	_MC_CMD_PTP_IN_TRANSMIT_LEN
	mov	w1, #4
	bl	_ALIGN
	mov	x23, x0
	mov	x25, sp
	stur	x0, [x29, #-88]
Lloh3:
	adrp	x8, _MC_CMD_PTP_OUT_TRANSMIT_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC_CMD_PTP_OUT_TRANSMIT_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	lsl	x8, x26, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _PTP_IN_OP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PTP_IN_OP@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _MC_CMD_PTP_OP_TRANSMIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MC_CMD_PTP_OP_TRANSMIT@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_MCDI_SET_DWORD
Lloh14:
	adrp	x8, _PTP_IN_TRANSMIT_LENGTH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PTP_IN_TRANSMIT_LENGTH@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x22
	bl	_MCDI_SET_DWORD
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_skb_linearize
	mov	x24, x0
	cbnz	w0, LBB0_6
LBB0_2:
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_skb_checksum_help
	mov	x24, x0
	cbnz	w0, LBB0_6
LBB0_4:
Lloh20:
	adrp	x8, _MC_CMD_PTP_IN_TRANSMIT_PACKET_OFST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MC_CMD_PTP_IN_TRANSMIT_PACKET_OFST@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	add	x1, x22, x8, lsl #2
	mov	x0, x19
	mov	x2, x23
	bl	_skb_copy_from_linear_data
Lloh23:
	adrp	x8, _MC_CMD_PTP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MC_CMD_PTP@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	lsl	w5, w26, #2
	sub	x6, x29, #88
	mov	x0, x20
	mov	x2, x22
	mov	x3, x23
	mov	x4, x21
	bl	_efx_mcdi_rpc
	mov	x24, x0
	cbnz	w0, LBB0_6
; %bb.5:
	sub	x0, x29, #80
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh26:
	adrp	x8, _PTP_OUT_TRANSMIT_SECONDS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PTP_OUT_TRANSMIT_SECONDS@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MCDI_DWORD
	mov	x20, x0
Lloh29:
	adrp	x8, _PTP_OUT_TRANSMIT_NANOSECONDS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PTP_OUT_TRANSMIT_NANOSECONDS@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MCDI_DWORD
	mov	x1, x0
	mov	x0, x20
	bl	_ktime_set
	stur	w0, [x29, #-80]
	sub	x1, x29, #80
	mov	x0, x19
	bl	_skb_tstamp_tx
LBB0_6:
	mov	x0, x19
	bl	_dev_kfree_skb
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x24
	sub	sp, x29, #64
	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
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_MC_CMD_PTP_OUT_TRANSMIT_LEN,4,2 ; @MC_CMD_PTP_OUT_TRANSMIT_LEN
	.comm	_PTP_IN_OP,4,2                  ; @PTP_IN_OP
	.comm	_MC_CMD_PTP_OP_TRANSMIT,4,2     ; @MC_CMD_PTP_OP_TRANSMIT
	.comm	_PTP_IN_TRANSMIT_LENGTH,4,2     ; @PTP_IN_TRANSMIT_LENGTH
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_MC_CMD_PTP_IN_TRANSMIT_PACKET_OFST,8,3 ; @MC_CMD_PTP_IN_TRANSMIT_PACKET_OFST
	.comm	_MC_CMD_PTP,4,2                 ; @MC_CMD_PTP
	.comm	_PTP_OUT_TRANSMIT_SECONDS,4,2   ; @PTP_OUT_TRANSMIT_SECONDS
	.comm	_PTP_OUT_TRANSMIT_NANOSECONDS,4,2 ; @PTP_OUT_TRANSMIT_NANOSECONDS
	.no_dead_strip	_efx_ptp_xmit_skb
.subsections_via_symbols
