	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pty_master_init
_pty_master_init:                       ## @pty_master_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rdi)
	movq	$0, 48(%rdi)
	movq	_TTY_PSEUDO_SLAVE_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rdi), %rdx
	movq	_pty_slave@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_tty_alloc
	movl	$1, 8(%rax)
	movq	(%r14), %rcx
	movq	(%rbx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	%rax, 24(%rbx)
	movq	%rbx, 24(%rax)
	movl	$1, 16(%rax)
	movq	%rax, %rdi
	callq	_pty_slave_init_inode
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pty_slave,8,3                  ## @pty_slave
	.comm	_TTY_PSEUDO_SLAVE_MAJOR,4,2     ## @TTY_PSEUDO_SLAVE_MAJOR
	.no_dead_strip	_pty_master_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pty_master_init
_pty_master_init:                       ; @pty_master_init
	.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
	mov	x19, x0
	stp	xzr, xzr, [x0, #32]
	str	xzr, [x0, #48]
Lloh0:
	adrp	x8, _TTY_PSEUDO_SLAVE_MAJOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TTY_PSEUDO_SLAVE_MAJOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x2, [x0]
Lloh3:
	adrp	x20, _pty_slave@GOTPAGE
Lloh4:
	ldr	x20, [x20, _pty_slave@GOTPAGEOFF]
	mov	x0, x20
	bl	_tty_alloc
	mov	w8, #1
	str	w8, [x0, #8]
	ldr	x9, [x20]
	ldr	x10, [x19]
	str	x0, [x9, x10, lsl #3]
	str	x0, [x19, #24]
	str	x19, [x0, #24]
	str	w8, [x0, #16]
	bl	_pty_slave_init_inode
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pty_slave,8,3                  ; @pty_slave
	.comm	_TTY_PSEUDO_SLAVE_MAJOR,4,2     ; @TTY_PSEUDO_SLAVE_MAJOR
	.no_dead_strip	_pty_master_init
.subsections_via_symbols
