	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppp_asynctty_open
_ppp_asynctty_open:                     ## @ppp_asynctty_open
	.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
	movq	16(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	movq	%r14, 96(%rax)
	movq	_PPP_MRU@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, 88(%rbx)
	leaq	80(%rbx), %rdi
	callq	_spin_lock_init
	leaq	76(%rbx), %rdi
	callq	_spin_lock_init
	movq	(%rbx), %rax
	movl	$-1, (%rax)
	movl	$1610612736, 12(%rax)           ## imm = 0x60000000
	movq	$-1, 8(%rbx)
	movl	64(%rbx), %eax
	movl	%eax, 72(%rbx)
	movl	%eax, 68(%rbx)
	leaq	60(%rbx), %rdi
	callq	_skb_queue_head_init
	leaq	56(%rbx), %rdi
	movq	_ppp_async_process@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_tasklet_init
	leaq	52(%rbx), %rdi
	movl	$1, %esi
	callq	_refcount_set
	leaq	48(%rbx), %rdi
	callq	_init_completion
	movq	%rbx, %r15
	addq	$16, %r15
	movq	%rbx, 40(%rbx)
	movq	_async_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	(%r12), %rax
	movq	%rax, 24(%rbx)
	movq	%r14, %rdi
	callq	_tty_get_baud_rate
	movl	%eax, 16(%rbx)
	movq	%r15, %rdi
	callq	_ppp_register_channel
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_6
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, 8(%r14)
	movl	$65536, (%r14)                  ## imm = 0x10000
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_PPP_MRU,8,3                    ## @PPP_MRU
	.comm	_ppp_async_process,4,2          ## @ppp_async_process
	.comm	_async_ops,4,2                  ## @async_ops
	.no_dead_strip	_ppp_asynctty_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppp_asynctty_open
_ppp_asynctty_open:                     ; @ppp_asynctty_open
	.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
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #104
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh6:
	adrp	x21, _PPP_MRU@GOTPAGE
Lloh7:
	ldr	x21, [x21, _PPP_MRU@GOTPAGEOFF]
	ldr	x8, [x21]
	stp	x8, x19, [x0, #88]
	add	x0, x0, #80
	bl	_spin_lock_init
	add	x0, x20, #76
	bl	_spin_lock_init
	ldr	x8, [x20]
	mov	w9, #-1
	str	w9, [x8]
	mov	w9, #1610612736
	str	w9, [x8, #12]
	ldr	w8, [x20, #64]
	stp	w8, w8, [x20, #68]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x20, #8]
	add	x0, x20, #60
	bl	_skb_queue_head_init
	add	x0, x20, #56
Lloh8:
	adrp	x8, _ppp_async_process@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ppp_async_process@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_tasklet_init
	add	x0, x20, #52
	mov	w1, #1
	bl	_refcount_set
	add	x0, x20, #48
	bl	_init_completion
	str	x20, [x20, #40]
Lloh11:
	adrp	x8, _async_ops@GOTPAGE
Lloh12:
	ldr	x8, [x8, _async_ops@GOTPAGEOFF]
	ldr	x9, [x21]
	stp	x9, x8, [x20, #24]
	mov	x0, x19
	bl	_tty_get_baud_rate
	mov	x8, x20
	str	w0, [x8, #16]!
	mov	x0, x8
	bl	_ppp_register_channel
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_kfree
	b	LBB0_7
LBB0_4:
Lloh13:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_5:
	neg	w21, w21
	b	LBB0_7
LBB0_6:
	str	x20, [x19, #8]
	mov	w8, #65536
	str	w8, [x19]
LBB0_7:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_PPP_MRU,8,3                    ; @PPP_MRU
	.comm	_ppp_async_process,4,2          ; @ppp_async_process
	.comm	_async_ops,4,2                  ; @async_ops
	.no_dead_strip	_ppp_asynctty_open
.subsections_via_symbols
