	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_get_default_vref       ## -- Begin function snd_hda_get_default_vref
	.p2align	4, 0x90
_snd_hda_get_default_vref:              ## @snd_hda_get_default_vref
	.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	%esi, %r15d
	movq	%rdi, %rbx
	movq	_AC_VERB_GET_PIN_WIDGET_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_snd_hda_codec_read
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_snd_hda_query_pin_caps
	movq	_AC_PINCAP_VREF@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_AC_PINCAP_VREF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	movq	_AC_PINCAP_VREF_80@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_PIN_VREF50@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	je	LBB0_3
## %bb.2:
	movq	_AC_PINCTL_VREF_80@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_AC_PINCAP_VREF_50@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_AC_PINCTL_VREF_50@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	_AC_PINCAP_VREF_100@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_AC_PINCTL_VREF_100@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_AC_PINCAP_VREF_GRD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.9:
	movq	_AC_PINCTL_VREF_HIZ@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_AC_PINCTL_VREF_GRD@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_VERB_GET_PIN_WIDGET_CONTROL,4,2 ## @AC_VERB_GET_PIN_WIDGET_CONTROL
	.comm	_AC_PINCAP_VREF,4,2             ## @AC_PINCAP_VREF
	.comm	_AC_PINCAP_VREF_SHIFT,4,2       ## @AC_PINCAP_VREF_SHIFT
	.comm	_AC_PINCAP_VREF_80,4,2          ## @AC_PINCAP_VREF_80
	.comm	_PIN_VREF50,4,2                 ## @PIN_VREF50
	.comm	_AC_PINCTL_VREF_80,4,2          ## @AC_PINCTL_VREF_80
	.comm	_AC_PINCAP_VREF_50,4,2          ## @AC_PINCAP_VREF_50
	.comm	_AC_PINCTL_VREF_50,4,2          ## @AC_PINCTL_VREF_50
	.comm	_AC_PINCAP_VREF_100,4,2         ## @AC_PINCAP_VREF_100
	.comm	_AC_PINCTL_VREF_100,4,2         ## @AC_PINCTL_VREF_100
	.comm	_AC_PINCAP_VREF_GRD,4,2         ## @AC_PINCAP_VREF_GRD
	.comm	_AC_PINCTL_VREF_GRD,4,2         ## @AC_PINCTL_VREF_GRD
	.comm	_AC_PINCTL_VREF_HIZ,4,2         ## @AC_PINCTL_VREF_HIZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_get_default_vref       ; -- Begin function snd_hda_get_default_vref
	.p2align	2
_snd_hda_get_default_vref:              ; @snd_hda_get_default_vref
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _AC_VERB_GET_PIN_WIDGET_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_VERB_GET_PIN_WIDGET_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w2, #0
	mov	w4, #0
	bl	_snd_hda_codec_read
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_snd_hda_query_pin_caps
Lloh3:
	adrp	x8, _AC_PINCAP_VREF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AC_PINCAP_VREF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _AC_PINCAP_VREF_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AC_PINCAP_VREF_SHIFT@GOTPAGEOFF]
	and	w8, w8, w0
Lloh8:
	ldr	w9, [x9]
	lsr	w8, w8, w9
Lloh9:
	adrp	x9, _AC_PINCAP_VREF_80@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AC_PINCAP_VREF_80@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w8, w9
Lloh12:
	adrp	x10, _PIN_VREF50@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PIN_VREF50@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	w9, #0
	ccmp	w21, w10, #4, ne
	b.ne	LBB0_3
; %bb.1:
Lloh15:
	adrp	x9, _AC_PINCAP_VREF_50@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AC_PINCAP_VREF_50@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
Lloh18:
	adrp	x8, _AC_PINCTL_VREF_50@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AC_PINCTL_VREF_50@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh20:
	adrp	x8, _AC_PINCTL_VREF_80@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AC_PINCTL_VREF_80@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	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
LBB0_5:
Lloh22:
	adrp	x9, _AC_PINCAP_VREF_100@GOTPAGE
Lloh23:
	ldr	x9, [x9, _AC_PINCAP_VREF_100@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh25:
	adrp	x8, _AC_PINCTL_VREF_100@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AC_PINCTL_VREF_100@GOTPAGEOFF]
	b	LBB0_4
LBB0_7:
Lloh27:
	adrp	x9, _AC_PINCAP_VREF_GRD@GOTPAGE
Lloh28:
	ldr	x9, [x9, _AC_PINCAP_VREF_GRD@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _AC_PINCTL_VREF_GRD@GOTPAGE
Lloh31:
	ldr	x10, [x10, _AC_PINCTL_VREF_GRD@GOTPAGEOFF]
Lloh32:
	adrp	x11, _AC_PINCTL_VREF_HIZ@GOTPAGE
Lloh33:
	ldr	x11, [x11, _AC_PINCTL_VREF_HIZ@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_VERB_GET_PIN_WIDGET_CONTROL,4,2 ; @AC_VERB_GET_PIN_WIDGET_CONTROL
	.comm	_AC_PINCAP_VREF,4,2             ; @AC_PINCAP_VREF
	.comm	_AC_PINCAP_VREF_SHIFT,4,2       ; @AC_PINCAP_VREF_SHIFT
	.comm	_AC_PINCAP_VREF_80,4,2          ; @AC_PINCAP_VREF_80
	.comm	_PIN_VREF50,4,2                 ; @PIN_VREF50
	.comm	_AC_PINCTL_VREF_80,4,2          ; @AC_PINCTL_VREF_80
	.comm	_AC_PINCAP_VREF_50,4,2          ; @AC_PINCAP_VREF_50
	.comm	_AC_PINCTL_VREF_50,4,2          ; @AC_PINCTL_VREF_50
	.comm	_AC_PINCAP_VREF_100,4,2         ; @AC_PINCAP_VREF_100
	.comm	_AC_PINCTL_VREF_100,4,2         ; @AC_PINCTL_VREF_100
	.comm	_AC_PINCAP_VREF_GRD,4,2         ; @AC_PINCAP_VREF_GRD
	.comm	_AC_PINCTL_VREF_GRD,4,2         ; @AC_PINCTL_VREF_GRD
	.comm	_AC_PINCTL_VREF_HIZ,4,2         ; @AC_PINCTL_VREF_HIZ
.subsections_via_symbols
