	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2880_io_set_reg_bits        ## -- Begin function cxd2880_io_set_reg_bits
	.p2align	4, 0x90
_cxd2880_io_set_reg_bits:               ## @cxd2880_io_set_reg_bits
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%r8d, %ebx
	testl	%r8d, %r8d
	je	LBB0_8
## %bb.3:
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r15
	cmpl	$255, %ebx
	je	LBB0_6
## %bb.4:
	movl	$0, -44(%rbp)
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$1, %r8d
	callq	*(%r15)
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	andl	%ebx, %r14d
	xorl	$255, %ebx
	andl	-44(%rbp), %ebx
	orl	%ebx, %r14d
LBB0_6:
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	callq	*8(%r15)
LBB0_7:
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxd2880_io_set_reg_bits        ; -- Begin function cxd2880_io_set_reg_bits
	.p2align	2
_cxd2880_io_set_reg_bits:               ; @cxd2880_io_set_reg_bits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x4
	cbz	w4, LBB0_8
; %bb.2:
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	cmp	w19, #255
	b.eq	LBB0_5
; %bb.3:
	str	wzr, [sp, #12]
	ldr	x8, [x23]
	add	x3, sp, #12
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	w4, #1
	blr	x8
	cbnz	w0, LBB0_6
; %bb.4:
	and	w8, w19, w22
	ldr	w9, [sp, #12]
	eor	w10, w19, #0xff
	and	w9, w9, w10
	orr	w22, w9, w8
LBB0_5:
	ldr	x8, [x23, #8]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	blr	x8
LBB0_6:
	mov	x19, x0
	b	LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
