	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pty_master_ioctl
_pty_master_ioctl:                      ## @pty_master_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_3
## %bb.1:
	movq	16(%rdi), %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rsi
	addq	%rcx, %rsi
	jmpq	*%rsi
LBB0_2:
	xorl	%ecx, %ecx
	cmpl	$0, (%rdx)
	setne	%cl
	movl	%ecx, 8(%rax)
	jmp	LBB0_8
LBB0_3:
	movq	__ENOTTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	cmpl	$0, (%rdx)
	setne	%al
	movl	%eax, 12(%rdi)
	jmp	LBB0_8
LBB0_5:
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_6:
	movl	12(%rdi), %eax
LBB0_7:
	movl	%eax, (%rdx)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	__ENOTTY,4,2                    ## @_ENOTTY
	.no_dead_strip	_pty_master_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pty_master_ioctl
_pty_master_ioctl:                      ; @pty_master_ioctl
	.cfi_startproc
; %bb.0:
	sub	w10, w1, #128
	cmp	w10, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x8, x0
	ldr	x9, [x0, #16]
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	mov	w0, #0
	ldr	w8, [x2]
	cmp	w8, #0
	cset	w8, ne
	str	w8, [x9, #8]
	ret
LBB0_3:
Lloh2:
	adrp	x8, __ENOTTY@GOTPAGE
Lloh3:
	ldr	x8, [x8, __ENOTTY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
LBB0_4:
	mov	w0, #0
	ldr	w9, [x2]
	cmp	w9, #0
	cset	w9, ne
	str	w9, [x8, #12]
	ret
LBB0_5:
	mov	w0, #0
	ldr	w8, [x9]
	str	w8, [x2]
	ret
LBB0_6:
	mov	w0, #0
	ldr	w8, [x8, #12]
	str	w8, [x2]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	__ENOTTY,4,2                    ; @_ENOTTY
	.no_dead_strip	_pty_master_ioctl
.subsections_via_symbols
