	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xdrrec_setpos
_xdrrec_setpos:                         ## @xdrrec_setpos
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	callq	_xdrrec_getpos
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.1:
	subl	%r14d, %eax
	movl	(%rbx), %edx
	cmpl	$130, %edx
	je	LBB0_6
## %bb.2:
	cmpl	$129, %edx
	jne	LBB0_11
## %bb.3:
	movq	(%r15), %rdx
	cltq
	subq	%rax, %rdx
	cmpq	48(%r15), %rdx
	jbe	LBB0_11
## %bb.4:
	cmpq	8(%r15), %rdx
	jae	LBB0_11
## %bb.5:
	movq	%rdx, (%r15)
	jmp	LBB0_10
LBB0_6:
	movl	24(%r15), %edx
	subl	%eax, %edx
	jle	LBB0_11
## %bb.7:
	movq	16(%r15), %rsi
	cltq
	subq	%rax, %rsi
	cmpq	32(%r15), %rsi
	ja	LBB0_11
## %bb.8:
	cmpq	40(%r15), %rsi
	jb	LBB0_11
## %bb.9:
	movq	%rsi, 16(%r15)
	movl	%edx, 24(%r15)
LBB0_10:
	movq	_TRUE@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_xdrrec_setpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xdrrec_setpos
_xdrrec_setpos:                         ; @xdrrec_setpos
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
	bl	_xdrrec_getpos
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.1:
	sub	w8, w0, w20
	ldr	w9, [x19]
	cmp	w9, #130
	b.eq	LBB0_6
; %bb.2:
	cmp	w9, #129
	b.ne	LBB0_9
; %bb.3:
	ldr	x9, [x21]
	sub	x8, x9, w8, sxtw
	ldr	x9, [x21, #48]
	cmp	x8, x9
	b.ls	LBB0_9
; %bb.4:
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.hs	LBB0_9
; %bb.5:
	str	x8, [x21]
	b	LBB0_12
LBB0_6:
	ldr	w9, [x21, #24]
	subs	w9, w9, w8
	b.le	LBB0_9
; %bb.7:
	ldr	x10, [x21, #16]
	sub	x8, x10, w8, sxtw
	ldr	x10, [x21, #32]
	cmp	x8, x10
	b.hi	LBB0_9
; %bb.8:
	ldr	x10, [x21, #40]
	cmp	x8, x10
	b.hs	LBB0_11
LBB0_9:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	str	x8, [x21, #16]
	str	w9, [x21, #24]
LBB0_12:
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_xdrrec_setpos
.subsections_via_symbols
