	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_canfd_skb                ## -- Begin function alloc_canfd_skb
	.p2align	4, 0x90
_alloc_canfd_skb:                       ## @alloc_canfd_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$8, %esi
	callq	_netdev_alloc_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	_ETH_P_CANFD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 8(%rbx)
	movq	_PACKET_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_skb_reset_mac_header
	movq	%rbx, %rdi
	callq	_skb_reset_network_header
	movq	%rbx, %rdi
	callq	_skb_reset_transport_header
	movq	%rbx, %rdi
	callq	_can_skb_reserve
	movl	(%r15), %r15d
	movq	%rbx, %rdi
	callq	_can_skb_prv
	movl	%r15d, 8(%rax)
	movq	%rbx, %rdi
	callq	_can_skb_prv
	movq	$0, (%rax)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_put_zero
	movq	%rax, (%r14)
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_CANFD,4,2                ## @ETH_P_CANFD
	.comm	_PACKET_BROADCAST,4,2           ## @PACKET_BROADCAST
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_canfd_skb                ; -- Begin function alloc_canfd_skb
	.p2align	2
_alloc_canfd_skb:                       ; @alloc_canfd_skb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x21, x0
	mov	w1, #8
	bl	_netdev_alloc_skb
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, #0
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _ETH_P_CANFD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_CANFD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x20, #8]
Lloh3:
	adrp	x8, _PACKET_BROADCAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PACKET_BROADCAST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	mov	x0, x20
	bl	_skb_reset_mac_header
	mov	x0, x20
	bl	_skb_reset_network_header
	mov	x0, x20
	bl	_skb_reset_transport_header
	mov	x0, x20
	bl	_can_skb_reserve
	ldr	w21, [x21]
	mov	x0, x20
	bl	_can_skb_prv
	str	w21, [x0, #8]
	mov	x0, x20
	bl	_can_skb_prv
	str	xzr, [x0]
	mov	x0, x20
	mov	w1, #4
	bl	_skb_put_zero
	str	x0, [x19]
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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	_ETH_P_CANFD,4,2                ; @ETH_P_CANFD
	.comm	_PACKET_BROADCAST,4,2           ; @PACKET_BROADCAST
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
.subsections_via_symbols
