	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_ipv_X
_is_ipv_X:                              ## @is_ipv_X
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	%rsi, %rdi
	callq	_verify_align_4
	movq	_DEV_TYPE_TUN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_BLEN
	xorl	%r15d, %r15d
	cmpl	$4, %eax
	jb	LBB0_12
LBB0_11:
	movq	%r12, %rdi
	callq	_BPTR
	movl	%r15d, %ecx
	movl	(%rax,%rcx), %edi
	callq	_OPENVPN_IPH_GET_VER
	cmpl	%r14d, %eax
	jne	LBB0_12
## %bb.13:
	movq	%r12, %rdi
	movl	%r15d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_buf_advance                    ## TAILCALL
LBB0_2:
	movq	_DEV_TYPE_TAP@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_12
## %bb.3:
	movq	%r12, %rdi
	callq	_BLEN
	cmpl	$8, %eax
	jb	LBB0_12
## %bb.4:
	movq	%r12, %rdi
	callq	_BPTR
	movl	(%rax), %r15d
	movq	_OPENVPN_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpl	%eax, %r15d
	jne	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	callq	_BLEN
	cmpl	$8, %eax
	jb	LBB0_12
## %bb.6:
	movq	%r12, %rdi
	callq	_BPTR
	movl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %edi
	callq	_ntohs
	cmpl	$6, %r14d
	jne	LBB0_8
## %bb.9:
	movq	_OPENVPN_ETH_P_IPV6@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	movq	_OPENVPN_ETH_P_IPV4@GOTPCREL(%rip), %rcx
LBB0_10:
	movl	$4, %r15d
	cmpq	(%rcx), %rax
	je	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEV_TYPE_TUN,4,2               ## @DEV_TYPE_TUN
	.comm	_DEV_TYPE_TAP,4,2               ## @DEV_TYPE_TAP
	.comm	_OPENVPN_ETH_P_8021Q,4,2        ## @OPENVPN_ETH_P_8021Q
	.comm	_OPENVPN_ETH_P_IPV6,8,3         ## @OPENVPN_ETH_P_IPV6
	.comm	_OPENVPN_ETH_P_IPV4,8,3         ## @OPENVPN_ETH_P_IPV4
	.no_dead_strip	_is_ipv_X
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_ipv_X
_is_ipv_X:                              ; @is_ipv_X
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_verify_align_4
Lloh0:
	adrp	x8, _DEV_TYPE_TUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEV_TYPE_TUN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_BLEN
	cmp	w0, #4
	b.lo	LBB0_12
; %bb.2:
	mov	w21, #0
LBB0_3:
	mov	x0, x19
	bl	_BPTR
	ldr	w0, [x0, w21, uxtw]
	bl	_OPENVPN_IPH_GET_VER
	cmp	w0, w20
	b.ne	LBB0_12
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	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
	b	_buf_advance
LBB0_5:
Lloh3:
	adrp	x8, _DEV_TYPE_TAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEV_TYPE_TAP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_12
; %bb.6:
	mov	x0, x19
	bl	_BLEN
	cmp	w0, #8
	b.lo	LBB0_12
; %bb.7:
	mov	x0, x19
	bl	_BPTR
	ldr	w21, [x0]
Lloh6:
	adrp	x8, _OPENVPN_ETH_P_8021Q@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OPENVPN_ETH_P_8021Q@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	cmp	w21, w0
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_BLEN
	cmp	w0, #8
	b.lo	LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_BPTR
	ldr	w21, [x0]
LBB0_10:
	mov	x0, x21
	bl	_ntohs
Lloh9:
	adrp	x8, _OPENVPN_ETH_P_IPV6@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OPENVPN_ETH_P_IPV6@GOTPAGEOFF]
Lloh11:
	adrp	x9, _OPENVPN_ETH_P_IPV4@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OPENVPN_ETH_P_IPV4@GOTPAGEOFF]
	cmp	w20, #6
	csel	x8, x8, x9, eq
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	mov	w21, #4
	b	LBB0_3
LBB0_12:
	mov	w0, #0
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DEV_TYPE_TUN,4,2               ; @DEV_TYPE_TUN
	.comm	_DEV_TYPE_TAP,4,2               ; @DEV_TYPE_TAP
	.comm	_OPENVPN_ETH_P_8021Q,4,2        ; @OPENVPN_ETH_P_8021Q
	.comm	_OPENVPN_ETH_P_IPV6,8,3         ; @OPENVPN_ETH_P_IPV6
	.comm	_OPENVPN_ETH_P_IPV4,8,3         ; @OPENVPN_ETH_P_IPV4
	.no_dead_strip	_is_ipv_X
.subsections_via_symbols
