	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readrec_vx
_readrec_vx:                            ## @readrec_vx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdi
	movl	$4, %esi
	movq	%rbx, %rdx
	callq	_fread_record
	movq	_EOF@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_9
## %bb.1:
	leaq	-28(%rbp), %rdi
	movl	$4, %esi
	movq	%rbx, %rdx
	callq	_fread_record
	cmpq	(%r15), %rax
	je	LBB0_9
## %bb.2:
	movl	-28(%rbp), %edi
	movq	%rbx, %rsi
	callq	_ungetc
	cmpq	(%r15), %rax
	je	LBB0_9
## %bb.3:
	movl	-32(%rbp), %edi
	movq	%rbx, %rsi
	callq	_ungetc
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	je	LBB0_9
## %bb.4:
	movl	-28(%rbp), %eax
	cmpl	$3, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_readrec_v2
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_9
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_readrec_v3
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_9
LBB0_8:
	movq	_EFTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movl	%ecx, %eax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,8,3                        ## @EOF
	.comm	_EFTYPE,4,2                     ## @EFTYPE
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_readrec_vx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readrec_vx
_readrec_vx:                            ; @readrec_vx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #12
	mov	w1, #4
	mov	x2, x20
	bl	_fread_record
Lloh0:
	adrp	x21, _EOF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.1:
	add	x0, sp, #8
	mov	w1, #4
	mov	x2, x20
	bl	_fread_record
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.2:
	ldr	w0, [sp, #8]
	mov	x1, x20
	bl	_ungetc
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.3:
	ldr	w0, [sp, #12]
	mov	x1, x20
	bl	_ungetc
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.4:
	ldr	w9, [sp, #8]
	cmp	w9, #3
	b.eq	LBB0_7
; %bb.5:
	cmp	w9, #2
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_readrec_v2
                                        ; kill: def $w0 killed $w0 def $x0
	b	LBB0_9
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_readrec_v3
                                        ; kill: def $w0 killed $w0 def $x0
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x9, _EFTYPE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EFTYPE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _errno@GOTPAGE
Lloh6:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh7:
	str	w9, [x10]
	mov	x0, x8
LBB0_9:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,8,3                        ; @EOF
	.comm	_EFTYPE,4,2                     ; @EFTYPE
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_readrec_vx
.subsections_via_symbols
