	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tun_get_tx_ring                ## -- Begin function tun_get_tx_ring
	.p2align	4, 0x90
_tun_get_tx_ring:                       ## @tun_get_tx_ring
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	cmpq	_tun_fops@GOTPCREL(%rip), %rax
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_3:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	popq	%rbp
	retq
LBB0_4:
	movq	_EBADFD@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_tun_fops,4,2                   ## @tun_fops
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EBADFD,4,2                     ## @EBADFD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tun_get_tx_ring                ; -- Begin function tun_get_tx_ring
	.p2align	2
_tun_get_tx_ring:                       ; @tun_get_tx_ring
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _tun_fops@GOTPAGE
Lloh1:
	ldr	x9, [x9, _tun_fops@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	_ERR_PTR
LBB0_3:
	ldr	x0, [x0]
	cbz	x0, LBB0_5
; %bb.4:
	ret
LBB0_5:
Lloh4:
	adrp	x8, _EBADFD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EBADFD@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_tun_fops,4,2                   ; @tun_fops
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EBADFD,4,2                     ; @EBADFD
.subsections_via_symbols
