	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gp8psk_fe_set_tone
_gp8psk_fe_set_tone:                    ## @gp8psk_fe_set_tone
	.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
	movq	(%rdi), %rax
	movq	8(%rax), %r10
	movl	(%rax), %edi
	movq	_SET_22KHZ_TONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SEC_TONE_ON@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	%esi, (%rcx)
	sete	%dl
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*(%r10)
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	testq	%rax, %rax
	cmovel	%ebx, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SET_22KHZ_TONE,4,2             ## @SET_22KHZ_TONE
	.comm	_SEC_TONE_ON,4,2                ## @SEC_TONE_ON
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_gp8psk_fe_set_tone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gp8psk_fe_set_tone
_gp8psk_fe_set_tone:                    ; @gp8psk_fe_set_tone
	.cfi_startproc
; %bb.0:
	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
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	ldr	x9, [x9]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _SET_22KHZ_TONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SET_22KHZ_TONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _SEC_TONE_ON@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SEC_TONE_ON@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w10, w1
	cset	w2, eq
	mov	x1, x8
	mov	w3, #0
	mov	x4, #0
	mov	w5, #0
	blr	x9
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SET_22KHZ_TONE,4,2             ; @SET_22KHZ_TONE
	.comm	_SEC_TONE_ON,4,2                ; @SEC_TONE_ON
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_gp8psk_fe_set_tone
.subsections_via_symbols
