	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_querymenu
_sd_querymenu:                          ## @sd_querymenu
	.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
	movq	%rsi, %rbx
	movl	(%rsi), %eax
	cmpl	$129, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.2:
	movq	8(%rbx), %rax
	cmpq	$2, %rax
	je	LBB0_8
## %bb.3:
	cmpq	$1, %rax
	jne	LBB0_7
## %bb.4:
	movq	16(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_5:
	movl	8(%rbx), %r15d
	movq	_effects_control@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%r15d, %eax
	jbe	LBB0_7
## %bb.6:
	movq	8(%rbx), %rax
	movq	16(%rbx), %rdi
	movq	(%r14), %rcx
	movl	(%rcx,%rax,4), %esi
	movl	$8, %edx
	callq	_strncpy
	jmp	LBB0_10
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_8:
	movq	16(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	callq	_strcpy
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"50 Hz"

L_.str.1:                               ## @.str.1
	.asciz	"60 Hz"

	.comm	_effects_control,8,3            ## @effects_control
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_sd_querymenu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_querymenu
_sd_querymenu:                          ; @sd_querymenu
	.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
	mov	x19, x1
	ldr	w8, [x1]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x19, #8]
	cmp	x8, #2
	b.eq	LBB0_8
; %bb.3:
	cmp	x8, #1
	b.ne	LBB0_7
; %bb.4:
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_5:
	ldr	w21, [x19, #8]
Lloh2:
	adrp	x20, _effects_control@GOTPAGE
Lloh3:
	ldr	x20, [x20, _effects_control@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, w21
	b.ls	LBB0_7
; %bb.6:
	ldr	x8, [x20]
	ldp	x9, x0, [x19, #8]
	ldr	w1, [x8, x9, lsl #2]
	mov	w2, #8
	bl	_strncpy
	b	LBB0_10
LBB0_7:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_8:
	ldr	x0, [x19, #16]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	bl	_strcpy
LBB0_10:
	mov	w0, #0
LBB0_11:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"50 Hz"

l_.str.1:                               ; @.str.1
	.asciz	"60 Hz"

	.comm	_effects_control,8,3            ; @effects_control
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_sd_querymenu
.subsections_via_symbols
