	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8400_write
_wm8400_write:                          ## @wm8400_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	%edx, %ecx
	movq	(%rdi), %rax
	movq	_WM8400_INTDRIVBITS@GOTPCREL(%rip), %rdx
	cmpl	%esi, (%rdx)
	jne	LBB0_2
## %bb.1:
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	4(%rax), %edi
	movl	$65535, %edx                    ## imm = 0xFFFF
	popq	%rbp
	jmp	_wm8400_set_bits                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8400_INTDRIVBITS,4,2         ## @WM8400_INTDRIVBITS
	.no_dead_strip	_wm8400_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8400_write
_wm8400_write:                          ; @wm8400_write
	.cfi_startproc
; %bb.0:
	mov	x3, x2
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WM8400_INTDRIVBITS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WM8400_INTDRIVBITS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ne	LBB0_2
; %bb.1:
	str	w3, [x8]
	mov	w0, #0
	ret
LBB0_2:
	ldr	w0, [x8, #4]
	mov	w2, #65535
	b	_wm8400_set_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8400_INTDRIVBITS,4,2         ; @WM8400_INTDRIVBITS
	.no_dead_strip	_wm8400_write
.subsections_via_symbols
