	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MySetFilePointerEx
_MySetFilePointerEx:                    ## @MySetFilePointerEx
	.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	%rdx, %r14
	movq	%rsi, %rax
	shrq	$32, %rax
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_SetFilePointer
	movl	%eax, %r15d
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpl	$-1, %r15d
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_NO_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_3:
	testq	%r14, %r14
	je	LBB0_6
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movl	%r15d, (%r14)
	movl	-28(%rbp), %eax
	movl	%eax, 4(%r14)
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_NO_ERROR,8,3                   ## @NO_ERROR
	.comm	_FALSE,8,3                      ## @FALSE
	.no_dead_strip	_MySetFilePointerEx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MySetFilePointerEx
_MySetFilePointerEx:                    ; @MySetFilePointerEx
	.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, x2
	lsr	x8, x1, #32
	str	w8, [sp, #12]
	add	x2, sp, #12
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_SetFilePointer
	mov	x21, x0
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
	bl	_GetLastError
Lloh3:
	adrp	x8, _NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _FALSE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x0, x8
	csel	x20, x20, x9, eq
LBB0_2:
	cbz	x19, LBB0_5
; %bb.3:
	cbz	x20, LBB0_5
; %bb.4:
	ldr	w8, [sp, #12]
	stp	w21, w8, [x19]
LBB0_5:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_NO_ERROR,8,3                   ; @NO_ERROR
	.comm	_FALSE,8,3                      ; @FALSE
	.no_dead_strip	_MySetFilePointerEx
.subsections_via_symbols
