	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function com_rd
_com_rd:                                ## @com_rd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	$0, 16(%rdi)
	movq	$0, 40(%rdi)
	movl	(%rdi), %eax
	movl	28(%rdi), %ecx
	movl	%ecx, 32(%rdi)
	movq	_C_IFMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	addl	$-129, %ecx
	cmpl	$6, %ecx
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	_PAX_SCK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_PAX_SLK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_PAX_FIF@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_PAX_DIR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	andl	$3967, %eax                     ## imm = 0xF7F
	orl	$128, %eax
	movl	%eax, (%rdi)
	movq	_PAX_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	8(%rdi), %rax
	movq	%rax, 16(%rdi)
	jmp	LBB0_10
LBB0_6:
	movq	_PAX_CHR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_PAX_BLK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
LBB0_10:
	callq	_chk_lnk
	sarq	$63, %rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_C_IFMT,4,2                     ## @C_IFMT
	.comm	_PAX_FIF,4,2                    ## @PAX_FIF
	.comm	_PAX_DIR,4,2                    ## @PAX_DIR
	.comm	_PAX_BLK,4,2                    ## @PAX_BLK
	.comm	_PAX_CHR,4,2                    ## @PAX_CHR
	.comm	_PAX_SLK,4,2                    ## @PAX_SLK
	.comm	_PAX_SCK,4,2                    ## @PAX_SCK
	.comm	_PAX_REG,4,2                    ## @PAX_REG
	.no_dead_strip	_com_rd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function com_rd
_com_rd:                                ; @com_rd
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	xzr, [x0, #16]
	str	xzr, [x0, #40]
	ldr	w8, [x0, #28]
	str	w8, [x0, #32]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _C_IFMT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _C_IFMT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
	sub	w9, w9, #129
	cmp	w9, #6
	b.hi	LBB0_6
; %bb.1:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh5:
	adrp	x8, _PAX_SCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PAX_SCK@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
Lloh7:
	adrp	x8, _PAX_SLK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PAX_SLK@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
Lloh9:
	adrp	x8, _PAX_FIF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAX_FIF@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh11:
	adrp	x8, _PAX_DIR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PAX_DIR@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	and	w8, w8, #0xfff
	orr	w8, w8, #0x80
	str	w8, [x0]
Lloh13:
	adrp	x8, _PAX_REG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PAX_REG@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	ldr	x8, [x0, #8]
	str	x8, [x0, #16]
	b	LBB0_10
LBB0_7:
Lloh16:
	adrp	x8, _PAX_CHR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PAX_CHR@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh18:
	adrp	x8, _PAX_BLK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PAX_BLK@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	str	w8, [x0, #24]
LBB0_10:
	bl	_chk_lnk
	asr	x0, x0, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_C_IFMT,4,2                     ; @C_IFMT
	.comm	_PAX_FIF,4,2                    ; @PAX_FIF
	.comm	_PAX_DIR,4,2                    ; @PAX_DIR
	.comm	_PAX_BLK,4,2                    ; @PAX_BLK
	.comm	_PAX_CHR,4,2                    ; @PAX_CHR
	.comm	_PAX_SLK,4,2                    ; @PAX_SLK
	.comm	_PAX_SCK,4,2                    ; @PAX_SCK
	.comm	_PAX_REG,4,2                    ; @PAX_REG
	.no_dead_strip	_com_rd
.subsections_via_symbols
