	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sa_set_handle                  ## -- Begin function sa_set_handle
	.p2align	4, 0x90
_sa_set_handle:                         ## @sa_set_handle
	.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
	xorl	%ebx, %ebx
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.3:
	movl	$1, (%rdi)
	movl	4(%rdi), %edi
	movq	%rdx, %rsi
	movl	$16, %edx
	callq	_memcpy
	jmp	LBB0_4
LBB0_2:
	movl	$-1, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sa_set_handle                  ; -- Begin function sa_set_handle
	.p2align	2
_sa_set_handle:                         ; @sa_set_handle
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_3
; %bb.1:
	cbz	x2, LBB0_4
; %bb.2:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #1
	str	w8, [x0]
	ldr	w0, [x0, #4]
	mov	x1, x2
	mov	w2, #16
	bl	_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w0, #0
	ret
LBB0_4:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
