	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_peel_object                    ## -- Begin function peel_object
	.p2align	4, 0x90
_peel_object:                           ## @peel_object
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_lookup_unknown_object
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_OBJ_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_the_repository@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_oid_object_info
	movq	_PEEL_INVALID@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	js	LBB0_9
## %bb.2:
	movl	(%r12), %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_object_as_type
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movq	(%r15), %rax
LBB0_4:
	movq	_OBJ_TAG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	callq	_deref_tag_noverify
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	addq	$8, %rax
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_oidcpy
	movq	_PEEL_PEELED@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_5:
	movq	_PEEL_NON_TAG@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_7:
	movq	_PEEL_INVALID@GOTPCREL(%rip), %rbx
LBB0_9:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_NONE,8,3                   ## @OBJ_NONE
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_PEEL_INVALID,4,2               ## @PEEL_INVALID
	.comm	_OBJ_TAG,8,3                    ## @OBJ_TAG
	.comm	_PEEL_NON_TAG,4,2               ## @PEEL_NON_TAG
	.comm	_PEEL_PEELED,4,2                ## @PEEL_PEELED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_peel_object                    ; -- Begin function peel_object
	.p2align	2
_peel_object:                           ; @peel_object
	.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	x19, x1
	mov	x21, x0
	bl	_lookup_unknown_object
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _OBJ_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OBJ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x22, _the_repository@GOTPAGE
Lloh4:
	ldr	x22, [x22, _the_repository@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x21
	mov	x2, #0
	bl	_oid_object_info
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	x2, x0
	ldr	w0, [x22]
	mov	x1, x20
	mov	w3, #0
	bl	_object_as_type
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x8, [x20]
LBB0_4:
Lloh5:
	adrp	x9, _OBJ_TAG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OBJ_TAG@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_deref_tag_noverify
	cbz	x0, LBB0_7
; %bb.6:
	add	x1, x0, #8
	mov	x0, x19
	bl	_oidcpy
Lloh8:
	adrp	x8, _PEEL_PEELED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PEEL_PEELED@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x8, _PEEL_INVALID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PEEL_INVALID@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _PEEL_NON_TAG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PEEL_NON_TAG@GOTPAGEOFF]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_NONE,8,3                   ; @OBJ_NONE
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_PEEL_INVALID,4,2               ; @PEEL_INVALID
	.comm	_OBJ_TAG,8,3                    ; @OBJ_TAG
	.comm	_PEEL_NON_TAG,4,2               ; @PEEL_NON_TAG
	.comm	_PEEL_PEELED,4,2                ; @PEEL_PEELED
.subsections_via_symbols
