	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pty_line_name
_pty_line_name:                         ## @pty_line_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rax
	movl	(%rdi), %r8d
	movq	8(%rdi), %rcx
	movq	_PTY_TYPE_SLAVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	movq	16(%rdi), %rdx
LBB0_3:
	addl	%esi, %r8d
	movq	_ptychar@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r8d, %esi
	shrl	$4, %esi
	andl	$15, %esi
	movl	(%rcx,%rsi,4), %ecx
	andl	$15, %r8d
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%c%x"

	.comm	_PTY_TYPE_SLAVE,8,3             ## @PTY_TYPE_SLAVE
L_.str.1:                               ## @.str.1
	.asciz	"tty"

	.comm	_ptychar,8,3                    ## @ptychar
	.no_dead_strip	_pty_line_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pty_line_name
_pty_line_name:                         ; @pty_line_name
	.cfi_startproc
; %bb.0:
	mov	x8, x2
	ldr	w9, [x0]
	ldr	x10, [x0, #8]
Lloh0:
	adrp	x11, _PTY_TYPE_SLAVE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _PTY_TYPE_SLAVE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
	ldr	x2, [x0, #16]
LBB0_3:
	add	w9, w9, w1
Lloh5:
	adrp	x10, _ptychar@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ptychar@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	ubfx	w11, w9, #4, #4
	ldr	w3, [x10, w11, uxtw #2]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	and	w4, w9, #0xf
	mov	x0, x8
	b	_sprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%c%x"

	.comm	_PTY_TYPE_SLAVE,8,3             ; @PTY_TYPE_SLAVE
l_.str.1:                               ; @.str.1
	.asciz	"tty"

	.comm	_ptychar,8,3                    ; @ptychar
	.no_dead_strip	_pty_line_name
.subsections_via_symbols
