	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_hda_beep_event
_snd_hda_beep_event:                    ## @snd_hda_beep_event
	.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
	movl	%ecx, %r14d
	movl	%edx, %ebx
	callq	_input_get_drvdata
	movq	%rax, %r15
	cmpl	$128, %ebx
	je	LBB0_3
## %bb.1:
	movl	$-1, %eax
	cmpl	$129, %ebx
	jne	LBB0_7
## %bb.2:
	testl	%r14d, %r14d
	movl	$1000, %eax                     ## imm = 0x3E8
	cmovnel	%eax, %r14d
LBB0_3:
	cmpl	$0, 8(%r15)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_beep_linear_tone
	jmp	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_beep_standard_tone
LBB0_6:
	movl	%eax, 4(%r15)
	movq	%r15, %rdi
	callq	_schedule_work
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_hda_beep_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_hda_beep_event
_snd_hda_beep_event:                    ; @snd_hda_beep_event
	.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	x20, x3
	mov	x21, x2
	bl	_input_get_drvdata
	mov	x19, x0
	cmp	w21, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w21, #129
	b.ne	LBB0_5
; %bb.2:
	mov	w8, #1000
	cmp	w20, #0
	csel	w20, wzr, w8, eq
LBB0_3:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_beep_linear_tone
	b	LBB0_7
LBB0_5:
	mov	w0, #-1
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_beep_standard_tone
LBB0_7:
	str	w0, [x19, #4]
	mov	x0, x19
	bl	_schedule_work
	mov	w0, #0
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_hda_beep_event
.subsections_via_symbols
