	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_slvt_freeze_reg                ## -- Begin function slvt_freeze_reg
	.p2align	4, 0x90
_slvt_freeze_reg:                       ## @slvt_freeze_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	$-129, %eax
	addl	8(%rdi), %eax
	cmpl	$1, %eax
	ja	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	movq	_CXD2880_IO_TGT_DMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rcx
	xorl	%edx, %edx
	movl	$1, %r8d
	callq	*(%rdi)
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	movq	(%rbx), %rdi
	movq	_CXD2880_IO_TGT_DMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	*8(%rdi)
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CXD2880_IO_TGT_DMD,4,2         ## @CXD2880_IO_TGT_DMD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_slvt_freeze_reg                ; -- Begin function slvt_freeze_reg
	.p2align	2
_slvt_freeze_reg:                       ; @slvt_freeze_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	sub	w8, w8, #129
Lloh0:
	adrp	x20, _CXD2880_IO_TGT_DMD@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CXD2880_IO_TGT_DMD@GOTPAGEOFF]
	cmp	w8, #1
	b.hi	LBB0_3
; %bb.2:
	ldr	x0, [x19]
	ldr	x8, [x0]
	ldr	w1, [x20]
	add	x3, sp, #12
	mov	w2, #0
	mov	w4, #1
	blr	x8
	cbnz	w0, LBB0_5
LBB0_3:
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
	ldr	w1, [x20]
	mov	w2, #1
	mov	w3, #1
	blr	x8
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CXD2880_IO_TGT_DMD,4,2         ; @CXD2880_IO_TGT_DMD
.subsections_via_symbols
