	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_yamaha_ymf743
_patch_yamaha_ymf743:                   ## @patch_yamaha_ymf743
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_patch_yamaha_ymf743_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rdi)
	movq	_AC97_BC_BASS_TREBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rdi), %eax
	orl	$4096, %eax                     ## imm = 0x1000
	movl	%eax, (%rdi)
	movq	_SNDRV_PCM_RATE_48000@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdi), %rcx
	movq	_AC97_RATES_SPDIF@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_AC97_EI_SPDIF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_patch_yamaha_ymf743_ops,4,2    ## @patch_yamaha_ymf743_ops
	.comm	_AC97_BC_BASS_TREBLE,4,2        ## @AC97_BC_BASS_TREBLE
	.comm	_SNDRV_PCM_RATE_48000,4,2       ## @SNDRV_PCM_RATE_48000
	.comm	_AC97_RATES_SPDIF,8,3           ## @AC97_RATES_SPDIF
	.comm	_AC97_EI_SPDIF,4,2              ## @AC97_EI_SPDIF
	.no_dead_strip	_patch_yamaha_ymf743
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_yamaha_ymf743
_patch_yamaha_ymf743:                   ; @patch_yamaha_ymf743
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AC97_BC_BASS_TREBLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC97_BC_BASS_TREBLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w8, w9
	orr	w8, w8, #0x1000
Lloh3:
	adrp	x9, _SNDRV_PCM_RATE_48000@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNDRV_PCM_RATE_48000@GOTPAGEOFF]
	str	w8, [x0]
Lloh5:
	ldr	w8, [x9]
	ldr	x9, [x0, #8]
Lloh6:
	adrp	x10, _AC97_RATES_SPDIF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AC97_RATES_SPDIF@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh9:
	adrp	x8, _patch_yamaha_ymf743_ops@GOTPAGE
Lloh10:
	ldr	x8, [x8, _patch_yamaha_ymf743_ops@GOTPAGEOFF]
Lloh11:
	adrp	x9, _AC97_EI_SPDIF@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AC97_EI_SPDIF@GOTPAGEOFF]
	str	x8, [x0, #16]
Lloh13:
	ldr	w8, [x9]
	ldr	w9, [x0, #4]
	orr	w8, w9, w8
	str	w8, [x0, #4]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_patch_yamaha_ymf743_ops,4,2    ; @patch_yamaha_ymf743_ops
	.comm	_AC97_BC_BASS_TREBLE,4,2        ; @AC97_BC_BASS_TREBLE
	.comm	_SNDRV_PCM_RATE_48000,4,2       ; @SNDRV_PCM_RATE_48000
	.comm	_AC97_RATES_SPDIF,8,3           ; @AC97_RATES_SPDIF
	.comm	_AC97_EI_SPDIF,4,2              ; @AC97_EI_SPDIF
	.no_dead_strip	_patch_yamaha_ymf743
.subsections_via_symbols
