	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap_linux_sll_header
_swap_linux_sll_header:                 ## @swap_linux_sll_header
	.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	(%rdi), %rbx
	cmpq	$4, %rbx
	jl	LBB0_7
## %bb.1:
	movq	8(%rdi), %r15
	cmpq	$4, %r15
	jl	LBB0_7
## %bb.2:
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_EXTRACT_16BITS
	movq	_LINUX_SLL_P_CAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_LINUX_SLL_P_CANFD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_4:
	cmpq	$8, %rbx
	jb	LBB0_7
## %bb.5:
	cmpq	$8, %r15
	jb	LBB0_7
## %bb.6:
	movl	16(%r14), %edi
	callq	_SWAPLONG
	movl	%eax, 16(%r14)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINUX_SLL_P_CAN,8,3            ## @LINUX_SLL_P_CAN
	.comm	_LINUX_SLL_P_CANFD,8,3          ## @LINUX_SLL_P_CANFD
	.no_dead_strip	_swap_linux_sll_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swap_linux_sll_header
_swap_linux_sll_header:                 ; @swap_linux_sll_header
	.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
	ldp	x20, x21, [x0]
	cmp	x20, #4
	ccmp	x21, #4, #8, ge
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x0, x1
	bl	_EXTRACT_16BITS
Lloh0:
	adrp	x8, _LINUX_SLL_P_CAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINUX_SLL_P_CAN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _LINUX_SLL_P_CANFD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LINUX_SLL_P_CANFD@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	ccmp	x20, #8, #0, eq
	ccmp	x21, #8, #0, hs
	b.lo	LBB0_3
; %bb.2:
	ldr	w0, [x19, #16]
	bl	_SWAPLONG
	str	w0, [x19, #16]
LBB0_3:
	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	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_LINUX_SLL_P_CAN,8,3            ; @LINUX_SLL_P_CAN
	.comm	_LINUX_SLL_P_CANFD,8,3          ; @LINUX_SLL_P_CANFD
	.no_dead_strip	_swap_linux_sll_header
.subsections_via_symbols
