	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_setfreq
_sd_setfreq:                            ## @sd_setfreq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$1, %esi
	je	LBB0_6
## %bb.2:
	testl	%esi, %esi
	jne	LBB0_5
## %bb.3:
	movl	(%rdi), %ecx
	xorl	%r8d, %r8d
	jmp	LBB0_7
LBB0_4:
	movl	$1, (%rdi)
	movl	$1, %ecx
	movl	$1, %r8d
	jmp	LBB0_7
LBB0_6:
	movl	$0, (%rdi)
	movl	$1, %r8d
	xorl	%ecx, %ecx
LBB0_7:
	movl	%esi, 4(%rdi)
	movq	_flicker_jumps@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movslq	%ecx, %rdx
	movq	(%rsi,%rdx,8), %rcx
	movq	8(%rdi), %rsi
	movq	16(%rdi), %rax
	movq	(%rcx,%rsi,8), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 24(%rdi)
	movl	%r8d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbp
	jmp	_set_flicker                    ## TAILCALL
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_flicker_jumps,8,3              ## @flicker_jumps
	.no_dead_strip	_sd_setfreq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_setfreq
_sd_setfreq:                            ; @sd_setfreq
	.cfi_startproc
; %bb.0:
	cmp	w1, #2
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #1
	b.eq	LBB0_5
; %bb.2:
	cbnz	w1, LBB0_8
; %bb.3:
	mov	w8, #0
	ldr	w2, [x0]
	b	LBB0_7
LBB0_4:
	mov	w2, #1
	str	w2, [x0]
	b	LBB0_6
LBB0_5:
	mov	w2, #0
	str	wzr, [x0]
LBB0_6:
	mov	w8, #1
LBB0_7:
	str	w1, [x0, #4]
Lloh0:
	adrp	x9, _flicker_jumps@GOTPAGE
Lloh1:
	ldr	x9, [x9, _flicker_jumps@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x9, w2, sxtw #3]
	ldp	x10, x11, [x0, #8]
	ldr	x9, [x9, x10, lsl #3]
	ldr	w9, [x9, x11, lsl #2]
	str	w9, [x0, #24]
	mov	x1, x8
	b	_set_flicker
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_flicker_jumps,8,3              ; @flicker_jumps
	.no_dead_strip	_sd_setfreq
.subsections_via_symbols
