	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tty_pair_get_pty               ## -- Begin function tty_pair_get_pty
	.p2align	4, 0x90
_tty_pair_get_pty:                      ## @tty_pair_get_pty
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rdx
	movq	_TTY_DRIVER_TYPE_PTY@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_2
## %bb.1:
	movq	8(%rcx), %rcx
	movq	_PTY_TYPE_MASTER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
LBB0_2:
	movq	(%rax), %rax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TTY_DRIVER_TYPE_PTY,8,3        ## @TTY_DRIVER_TYPE_PTY
	.comm	_PTY_TYPE_MASTER,8,3            ## @PTY_TYPE_MASTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tty_pair_get_pty               ; -- Begin function tty_pair_get_pty
	.p2align	2
_tty_pair_get_pty:                      ; @tty_pair_get_pty
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _TTY_DRIVER_TYPE_PTY@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TTY_DRIVER_TYPE_PTY@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
Lloh3:
	adrp	x9, _PTY_TYPE_MASTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PTY_TYPE_MASTER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_2:
	ldr	x0, [x0]
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TTY_DRIVER_TYPE_PTY,8,3        ; @TTY_DRIVER_TYPE_PTY
	.comm	_PTY_TYPE_MASTER,8,3            ; @PTY_TYPE_MASTER
.subsections_via_symbols
