	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_ak4114_reg_write           ## -- Begin function snd_ak4114_reg_write
	.p2align	4, 0x90
_snd_ak4114_reg_write:                  ## @snd_ak4114_reg_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %r9d
	movq	_AK4114_REG_INT1_MASK@GOTPCREL(%rip), %rax
	cmpb	%sil, (%rax)
	jae	LBB0_1
## %bb.2:
	movq	_AK4114_REG_TXCSB0@GOTPCREL(%rip), %rax
	movzbl	(%rax), %r8d
	cmpb	%sil, %r8b
	ja	LBB0_6
## %bb.3:
	movq	_AK4114_REG_TXCSB4@GOTPCREL(%rip), %rax
	cmpb	%sil, (%rax)
	jb	LBB0_6
## %bb.4:
	subq	%r8, %r9
	addq	8(%rdi), %r9
	jmp	LBB0_5
LBB0_1:
	addq	(%rdi), %r9
LBB0_5:
	notb	%dl
	andb	(%r9), %dl
	orb	%cl, %dl
	movzbl	%dl, %edx
	movzbl	%sil, %esi
	popq	%rbp
	jmp	_reg_write                      ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AK4114_REG_INT1_MASK,1,0       ## @AK4114_REG_INT1_MASK
	.comm	_AK4114_REG_TXCSB0,1,0          ## @AK4114_REG_TXCSB0
	.comm	_AK4114_REG_TXCSB4,1,0          ## @AK4114_REG_TXCSB4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_ak4114_reg_write           ; -- Begin function snd_ak4114_reg_write
	.p2align	2
_snd_ak4114_reg_write:                  ; @snd_ak4114_reg_write
	.cfi_startproc
; %bb.0:
	mov	w8, w1
Lloh0:
	adrp	x9, _AK4114_REG_INT1_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AK4114_REG_INT1_MASK@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w1
	b.hs	LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, _AK4114_REG_TXCSB0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AK4114_REG_TXCSB0@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh4:
	adrp	x10, _AK4114_REG_TXCSB4@GOTPAGE
Lloh5:
	ldr	x10, [x10, _AK4114_REG_TXCSB4@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w1
	ccmp	w10, w1, #0, ls
	b.hs	LBB0_4
; %bb.2:
	ret
LBB0_3:
	ldr	x9, [x0]
	add	x8, x9, x8
	b	LBB0_5
LBB0_4:
	ldr	x10, [x0, #8]
	sub	x8, x8, x9
	add	x8, x10, x8
LBB0_5:
	ldrb	w8, [x8]
	eor	w9, w2, #0xff
	and	w8, w8, w9
	orr	w2, w8, w3
	b	_reg_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_AK4114_REG_INT1_MASK,1,0       ; @AK4114_REG_INT1_MASK
	.comm	_AK4114_REG_TXCSB0,1,0          ; @AK4114_REG_TXCSB0
	.comm	_AK4114_REG_TXCSB4,1,0          ; @AK4114_REG_TXCSB4
.subsections_via_symbols
