	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function av7110_set22k
_av7110_set22k:                         ## @av7110_set22k
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_COMTYPE_AUDIODAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$8, %eax
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_OFF22K@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_ON22K@GOTPCREL(%rip), %rcx
LBB0_3:
	orl	(%rcx), %eax
	movl	%eax, -24(%rbp)
	movl	$0, -20(%rbp)
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%rbx, %rdx
	callq	_dprintk
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_budget_av7110_send_fw_cmd
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_COMTYPE_AUDIODAC,4,2           ## @COMTYPE_AUDIODAC
	.comm	_ON22K,4,2                      ## @ON22K
	.comm	_OFF22K,4,2                     ## @OFF22K
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"budget: %p\n"

	.no_dead_strip	_av7110_set22k
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function av7110_set22k
_av7110_set22k:                         ; @av7110_set22k
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _COMTYPE_AUDIODAC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _COMTYPE_AUDIODAC@GOTPAGEOFF]
	str	x8, [sp, #8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ON22K@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ON22K@GOTPAGEOFF]
Lloh8:
	adrp	x10, _OFF22K@GOTPAGE
Lloh9:
	ldr	x10, [x10, _OFF22K@GOTPAGEOFF]
	cmp	w1, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	orr	w8, w9, w8, lsl #8
	stp	w8, wzr, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x19
	bl	_dprintk
	mov	x1, sp
	mov	x0, x19
	mov	w2, #2
	bl	_budget_av7110_send_fw_cmd
	ldr	x8, [sp, #8]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COMTYPE_AUDIODAC,4,2           ; @COMTYPE_AUDIODAC
	.comm	_ON22K,4,2                      ; @ON22K
	.comm	_OFF22K,4,2                     ; @OFF22K
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"budget: %p\n"

	.no_dead_strip	_av7110_set22k
.subsections_via_symbols
