	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tun_can_build_skb
_tun_can_build_skb:                     ## @tun_can_build_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_TUN_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%rdi), %ebx
	movq	_IFF_TAP@GOTPCREL(%rip), %rdi
	xorl	%eax, %eax
	cmpl	(%rdi), %ebx
	jne	LBB0_5
## %bb.1:
	testl	%r8d, %r8d
	jne	LBB0_5
## %bb.2:
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.3:
	movq	(%rsi), %rcx
	movq	_INT_MAX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	%rsi, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	_TUN_RX_PAD@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	movl	%edx, %edi
	callq	_SKB_DATA_ALIGN
	movq	%rax, %rbx
	movl	$4, %edi
	callq	_SKB_DATA_ALIGN
	movq	%rax, %rcx
	addq	%rbx, %rcx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setle	%al
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUN_TYPE_MASK,4,2              ## @TUN_TYPE_MASK
	.comm	_IFF_TAP,4,2                    ## @IFF_TAP
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_TUN_RX_PAD,4,2                 ## @TUN_RX_PAD
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_tun_can_build_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tun_can_build_skb
_tun_can_build_skb:                     ; @tun_can_build_skb
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TUN_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TUN_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _IFF_TAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_TAP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.1:
	mov	w0, #0
	cbnz	w4, LBB0_6
; %bb.2:
	cbz	w3, LBB0_6
; %bb.3:
	ldr	x8, [x1]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh9:
	adrp	x8, _TUN_RX_PAD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TUN_RX_PAD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w0, w8, w2
	bl	_SKB_DATA_ALIGN
	mov	x19, x0
	mov	w0, #4
	bl	_SKB_DATA_ALIGN
Lloh12:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x9, x0, x19
	cmp	x9, x8
	cset	w0, le
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TUN_TYPE_MASK,4,2              ; @TUN_TYPE_MASK
	.comm	_IFF_TAP,4,2                    ; @IFF_TAP
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_TUN_RX_PAD,4,2                 ; @TUN_RX_PAD
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_tun_can_build_skb
.subsections_via_symbols
