	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max9877_set_2reg
_max9877_set_2reg:                      ## @max9877_set_2reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %r9d
	movl	8(%rax), %ecx
	movl	12(%rax), %edx
	movq	(%rsi), %rsi
	movl	(%rsi), %eax
	andl	%edx, %eax
	movl	4(%rsi), %esi
	andl	%edx, %esi
	movq	_max9877_regs@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	(%rdi,%r8,4), %r10d
	movl	%r10d, %ebx
	shrl	%cl, %ebx
	andl	%edx, %ebx
	cmpl	%eax, %ebx
	setne	%r11b
	movl	(%rdi,%r9,4), %ebx
	shrl	%cl, %ebx
	andl	%edx, %ebx
	cmpl	%esi, %ebx
	setne	%bl
	andb	%r11b, %bl
	cmpb	$1, %bl
	jne	LBB0_2
## %bb.1:
	shll	%cl, %edx
	notl	%edx
	andl	%edx, %r10d
	shll	%cl, %eax
	orl	%r10d, %eax
	movl	%eax, (%rdi,%r8,4)
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	andl	(%rdi,%r9,4), %edx
	orl	%edx, %esi
	movl	%esi, (%rdi,%r9,4)
	xorl	%eax, %eax
	callq	_max9877_write_regs
LBB0_2:
	movzbl	%bl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_max9877_regs,8,3               ## @max9877_regs
	.no_dead_strip	_max9877_set_2reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max9877_set_2reg
_max9877_set_2reg:                      ; @max9877_set_2reg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x11, [x0]
	ldp	w8, w10, [x11]
	ldp	w9, w13, [x11, #8]
	ldr	x11, [x1]
	ldp	w12, w11, [x11]
	and	w14, w12, w13
	and	w12, w11, w13
Lloh0:
	adrp	x11, _max9877_regs@GOTPAGE
Lloh1:
	ldr	x11, [x11, _max9877_regs@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	ldr	w15, [x11, x8, lsl #2]
	lsr	w16, w15, w9
	ldr	w17, [x11, x10, lsl #2]
	and	w16, w16, w13
	lsr	w17, w17, w9
	and	w17, w17, w13
	cmp	w17, w12
	ccmp	w16, w14, #4, ne
	cset	w19, ne
	b.eq	LBB0_2
; %bb.1:
	lsl	w13, w13, w9
	bic	w15, w15, w13
	lsl	w14, w14, w9
	orr	w14, w15, w14
	str	w14, [x11, x8, lsl #2]
	lsl	x8, x10, #2
	ldr	w10, [x11, x8]
	bic	w10, w10, w13
	lsl	w9, w12, w9
	orr	w9, w10, w9
	str	w9, [x11, x8]
	bl	_max9877_write_regs
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_max9877_regs,8,3               ; @max9877_regs
	.no_dead_strip	_max9877_set_2reg
.subsections_via_symbols
