	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _fopencookie_seek
__fopencookie_seek:                     ## @_fopencookie_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
                                        ## kill: def $edx killed $edx def $rdx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.3:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movslq	%esi, %rcx
	movq	%rcx, -8(%rbp)
	movl	(%rdi), %edi
	leaq	-8(%rbp), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*%rax
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movl	-8(%rbp), %eax
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOTSUP@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOTSUP,4,2                    ## @ENOTSUP
	.no_dead_strip	__fopencookie_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _fopencookie_seek
__fopencookie_seek:                     ; @_fopencookie_seek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w1 killed $w1 def $x1
	sub	w8, w2, #128
	cmp	w8, #3
	b.hs	LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.2:
	sxtw	x9, w1
	str	x9, [sp, #8]
	ldr	w0, [x0]
	add	x1, sp, #8
	blr	x8
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	w0, [sp, #8]
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _ENOTSUP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOTSUP@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _errno@GOTPAGE
Lloh5:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh6:
	str	w8, [x9]
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOTSUP,4,2                    ; @ENOTSUP
	.no_dead_strip	__fopencookie_seek
.subsections_via_symbols
