	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __snd_gf1_read_addr
___snd_gf1_read_addr:                   ## @__snd_gf1_read_addr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%ebx, %eax
	orb	$-128, %al
	movzbl	%al, %esi
	callq	___snd_gf1_look16
	movq	%rax, %r12
	shll	$11, %r12d
	andl	$16775168, %r12d                ## imm = 0xFFF800
	incb	%bl
	orb	$-128, %bl
	movzbl	%bl, %esi
	movq	%r15, %rdi
	callq	___snd_gf1_look16
	movq	%rax, %r13
	shrl	$5, %r13d
	movl	%r13d, %ebx
	andl	$2047, %ebx                     ## imm = 0x7FF
	orl	%r12d, %ebx
	cmpq	$0, (%r15)
	je	LBB0_3
## %bb.1:
	movq	_SNDRV_GF1_VB_UPPER_ADDRESS@GOTPCREL(%rip), %rax
	movl	$128, %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	___snd_gf1_look8
	shll	$26, %eax
	orl	%ebx, %eax
	testw	%r14w, %r14w
	je	LBB0_6
## %bb.2:
	andl	$-50331664, %eax                ## imm = 0xFCFFFFF0
	andl	$15, %r13d
	leal	(%r13,%rax,2), %eax
	jmp	LBB0_6
LBB0_3:
	testw	%r14w, %r14w
	je	LBB0_4
## %bb.5:
	movl	%ebx, %eax
	andl	$2097136, %eax                  ## imm = 0x1FFFF0
	andl	$12582927, %ebx                 ## imm = 0xC0000F
	leal	(%rbx,%rax,2), %eax
	jmp	LBB0_6
LBB0_4:
	movl	%ebx, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_GF1_VB_UPPER_ADDRESS,4,2 ## @SNDRV_GF1_VB_UPPER_ADDRESS
	.no_dead_strip	___snd_gf1_read_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __snd_gf1_read_addr
___snd_gf1_read_addr:                   ; @__snd_gf1_read_addr
	.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, x2
	mov	x21, x1
	mov	x20, x0
	orr	w1, w1, #0x80
	bl	___snd_gf1_look16
	ubfiz	w22, w0, #11, #13
	add	w8, w21, #1
	orr	w8, w8, #0x80
	and	w1, w8, #0xff
	mov	x0, x20
	bl	___snd_gf1_look16
	mov	x21, x0
	bfxil	w22, w21, #5, #11
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SNDRV_GF1_VB_UPPER_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_GF1_VB_UPPER_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w1, w8, #0x80
	mov	x0, x20
	bl	___snd_gf1_look8
	bfi	w22, w0, #26, #6
	mov	w8, #65504
	movk	w8, #63999, lsl #16
	and	w8, w8, w22, lsl #1
	bfxil	w8, w21, #5, #4
	b	LBB0_3
LBB0_2:
	lsl	w8, w22, #1
	and	w8, w8, #0x3fffe0
	and	w9, w22, #0xffc0000f
	orr	w8, w8, w9
LBB0_3:
	cmp	w19, #0
	csel	w0, w22, w8, eq
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_GF1_VB_UPPER_ADDRESS,4,2 ; @SNDRV_GF1_VB_UPPER_ADDRESS
	.no_dead_strip	___snd_gf1_read_addr
.subsections_via_symbols
