	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_setsecret                  ## -- Begin function key_setsecret
	.p2align	4, 0x90
_key_setsecret:                         ## @key_setsecret
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, %rdx
	movq	_KEY_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_xdr_keybuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_xdr_keystatus@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-8(%rbp), %r8
	callq	_key_call
	movl	%eax, %ecx
	movl	$-1, %eax
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	movq	-8(%rbp), %rcx
	movq	_KEY_SUCCESS@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_debug
	movl	$-1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_SET,8,3                    ## @KEY_SET
	.comm	_xdr_keybuf,8,3                 ## @xdr_keybuf
	.comm	_xdr_keystatus,8,3              ## @xdr_keystatus
	.comm	_KEY_SUCCESS,8,3                ## @KEY_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set status is nonzero"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_setsecret                  ; -- Begin function key_setsecret
	.p2align	2
_key_setsecret:                         ; @key_setsecret
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x0
Lloh0:
	adrp	x8, _KEY_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_SET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _xdr_keybuf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xdr_keybuf@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _xdr_keystatus@GOTPAGE
Lloh7:
	ldr	x8, [x8, _xdr_keystatus@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x4, sp, #8
	bl	_key_call
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
Lloh9:
	adrp	x9, _KEY_SUCCESS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KEY_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_SET,8,3                    ; @KEY_SET
	.comm	_xdr_keybuf,8,3                 ; @xdr_keybuf
	.comm	_xdr_keystatus,8,3              ; @xdr_keystatus
	.comm	_KEY_SUCCESS,8,3                ; @KEY_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set status is nonzero"

.subsections_via_symbols
