	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hda_set_corbctl
_hda_set_corbctl:                       ## @hda_set_corbctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	callq	_hda_get_reg_by_offset
	movq	_HDAC_CORBCTL_CORBRUN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_3
## %bb.1:
	testl	%r14d, %ecx
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_hda_corb_start
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hda_corb_run                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDAC_CORBCTL_CORBRUN,4,2       ## @HDAC_CORBCTL_CORBRUN
	.no_dead_strip	_hda_set_corbctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hda_set_corbctl
_hda_set_corbctl:                       ; @hda_set_corbctl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
	bl	_hda_get_reg_by_offset
Lloh0:
	adrp	x8, _HDAC_CORBCTL_CORBRUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDAC_CORBCTL_CORBRUN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	tst	w8, w20
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_hda_corb_start
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hda_corb_run
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDAC_CORBCTL_CORBRUN,4,2       ; @HDAC_CORBCTL_CORBRUN
	.no_dead_strip	_hda_set_corbctl
.subsections_via_symbols
