	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_section_put                 ## -- Begin function pt_section_put
	.p2align	4, 0x90
_pt_section_put:                        ## @pt_section_put
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_pt_section_lock
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movl	4(%rbx), %r14d
	cmpl	$2, %r14d
	jl	LBB0_4
## %bb.9:
	decl	%r14d
	movl	%r14d, 4(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pt_section_unlock              ## TAILCALL
LBB0_4:
	movl	(%rbx), %r15d
	movq	%rbx, %rdi
	callq	_pt_section_unlock
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.6:
	testl	%r15d, %r15d
	jne	LBB0_1
## %bb.7:
	movq	%rbx, %rdi
	callq	_pt_section_free
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_section_put                 ; -- Begin function pt_section_put
	.p2align	2
_pt_section_put:                        ; @pt_section_put
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_pt_section_lock
	tbnz	w0, #31, LBB0_9
; %bb.2:
	ldr	w20, [x19, #4]
	cmp	w20, #2
	b.lt	LBB0_4
; %bb.3:
	sub	w8, w20, #1
	str	w8, [x19, #4]
	mov	x0, x19
	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
	b	_pt_section_unlock
LBB0_4:
	ldr	w21, [x19]
	mov	x0, x19
	bl	_pt_section_unlock
	tbnz	w0, #31, LBB0_9
; %bb.5:
	cbz	w20, LBB0_8
; %bb.6:
	cbnz	w21, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_pt_section_free
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
.subsections_via_symbols
