	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tun_chr_fasync
_tun_chr_fasync:                        ## @tun_chr_fasync
	.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, %r15d
	movq	%rsi, %r14
	movq	(%rsi), %r12
	leaq	4(%r12), %rcx
	callq	_fasync_helper
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_task_pid
	movq	_PIDTYPE_TGID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	___f_setown
	movq	_TUN_FASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_TUN_FASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r12)
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.comm	_PIDTYPE_TGID,4,2               ## @PIDTYPE_TGID
	.comm	_TUN_FASYNC,4,2                 ## @TUN_FASYNC
	.no_dead_strip	_tun_chr_fasync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tun_chr_fasync
_tun_chr_fasync:                        ; @tun_chr_fasync
	.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
	ldr	x21, [x1]
	add	x3, x21, #4
	bl	_fasync_helper
	tbnz	w0, #31, LBB0_5
; %bb.1:
	cbz	w20, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_task_pid
	mov	x1, x0
Lloh3:
	adrp	x8, _PIDTYPE_TGID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PIDTYPE_TGID@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	___f_setown
	mov	w0, #0
Lloh6:
	adrp	x8, _TUN_FASYNC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TUN_FASYNC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	b	LBB0_4
LBB0_3:
	mov	w0, #0
Lloh9:
	adrp	x8, _TUN_FASYNC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TUN_FASYNC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21]
	bic	w8, w9, w8
LBB0_4:
	str	w8, [x21]
LBB0_5:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.comm	_PIDTYPE_TGID,4,2               ; @PIDTYPE_TGID
	.comm	_TUN_FASYNC,4,2                 ; @TUN_FASYNC
	.no_dead_strip	_tun_chr_fasync
.subsections_via_symbols
