	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linux_check_direction
_linux_check_direction:                 ## @linux_check_direction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_PACKET_OUTGOING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	8(%rdi), %rcx
	movq	8(%rsi), %rdx
	xorl	%eax, %eax
	cmpq	(%rcx), %rdx
	je	LBB0_6
## %bb.2:
	movq	16(%rsi), %rcx
	movq	_LINUX_SLL_P_CAN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	sete	%r8b
	movq	_LINUX_SLL_P_CANFD@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	sete	%dl
	orb	%r8b, %dl
	movq	(%rdi), %rdi
	movq	_PCAP_D_OUT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdi
	setne	%cl
	testb	%cl, %dl
	jne	LBB0_6
## %bb.3:
	movq	_PCAP_D_IN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jne	LBB0_5
	jmp	LBB0_6
LBB0_4:
	movq	(%rdi), %rcx
	movq	_PCAP_D_OUT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_6
LBB0_5:
	movl	$1, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_OUTGOING,8,3            ## @PACKET_OUTGOING
	.comm	_LINUX_SLL_P_CAN,8,3            ## @LINUX_SLL_P_CAN
	.comm	_LINUX_SLL_P_CANFD,8,3          ## @LINUX_SLL_P_CANFD
	.comm	_PCAP_D_OUT,8,3                 ## @PCAP_D_OUT
	.comm	_PCAP_D_IN,8,3                  ## @PCAP_D_IN
	.no_dead_strip	_linux_check_direction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linux_check_direction
_linux_check_direction:                 ; @linux_check_direction
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _PACKET_OUTGOING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PACKET_OUTGOING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x9, [x1, #8]
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _PCAP_D_OUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCAP_D_OUT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	mov	w0, #0
	ret
LBB0_5:
	ldr	x8, [x1, #16]
Lloh6:
	adrp	x9, _LINUX_SLL_P_CAN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LINUX_SLL_P_CAN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _LINUX_SLL_P_CANFD@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LINUX_SLL_P_CANFD@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	ldr	x8, [x0]
Lloh12:
	adrp	x9, _PCAP_D_OUT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PCAP_D_OUT@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, eq
Lloh15:
	adrp	x9, _PCAP_D_IN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PCAP_D_IN@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, eq
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
	ret
LBB0_7:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_OUTGOING,8,3            ; @PACKET_OUTGOING
	.comm	_LINUX_SLL_P_CAN,8,3            ; @LINUX_SLL_P_CAN
	.comm	_LINUX_SLL_P_CANFD,8,3          ; @LINUX_SLL_P_CANFD
	.comm	_PCAP_D_OUT,8,3                 ; @PCAP_D_OUT
	.comm	_PCAP_D_IN,8,3                  ; @PCAP_D_IN
	.no_dead_strip	_linux_check_direction
.subsections_via_symbols
