	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_core_magic
_r_core_magic:                          ## @r_core_magic
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movl	$0, -36(%rbp)
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_r_config_get_i
	movq	_magicdepth@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	-36(%rbp), %rcx
	movq	%rcx, (%rsp)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	movl	%r15d, %r8d
	xorl	%r9d, %r9d
	callq	_r_core_magic_at
	cmpq	(%rbx), %r14
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_r_core_seek
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"magic.depth"

	.comm	_magicdepth,4,2                 ## @magicdepth
	.no_dead_strip	_r_core_magic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_core_magic
_r_core_magic:                          ; @r_core_magic
	.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	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x19, [x0]
	str	wzr, [sp, #12]
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_r_config_get_i
	mov	x3, x0
Lloh2:
	adrp	x8, _magicdepth@GOTPAGE
Lloh3:
	ldr	x8, [x8, _magicdepth@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
	add	x6, sp, #12
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x4, x21
	mov	w5, #0
	bl	_r_core_magic_at
	ldr	x8, [x20]
	cmp	x19, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_r_core_seek
LBB0_2:
	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 AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"magic.depth"

	.comm	_magicdepth,4,2                 ; @magicdepth
	.no_dead_strip	_r_core_magic
.subsections_via_symbols
