	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hung_up_tty_compat_ioctl
_hung_up_tty_compat_ioctl:              ## @hung_up_tty_compat_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TIOCSPGRP@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_ENOTTY@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIOCSPGRP,4,2                  ## @TIOCSPGRP
	.comm	_ENOTTY,8,3                     ## @ENOTTY
	.comm	_EIO,8,3                        ## @EIO
	.no_dead_strip	_hung_up_tty_compat_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hung_up_tty_compat_ioctl
_hung_up_tty_compat_ioctl:              ; @hung_up_tty_compat_ioctl
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TIOCSPGRP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIOCSPGRP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ENOTTY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ENOTTY@GOTPAGEOFF]
Lloh4:
	adrp	x10, _EIO@GOTPAGE
Lloh5:
	ldr	x10, [x10, _EIO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, w1
	csel	x8, x9, x10, eq
	ldr	x8, [x8]
	neg	x0, x8
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TIOCSPGRP,4,2                  ; @TIOCSPGRP
	.comm	_ENOTTY,8,3                     ; @ENOTTY
	.comm	_EIO,8,3                        ; @EIO
	.no_dead_strip	_hung_up_tty_compat_ioctl
.subsections_via_symbols
