	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wcove_update_irq_mask
_wcove_update_irq_mask:                 ## @wcove_update_irq_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %eax
	movq	%rdi, %r14
	movq	_GROUP0_NR_IRQS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IRQ_MASK_BASE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	cmpl	%esi, %ecx
	jle	LBB0_2
## %bb.1:
	cltd
	idivl	%ecx
	jmp	LBB0_3
LBB0_2:
	incl	%ebx
	subl	%ecx, %eax
	movq	_GROUP1_NR_IRQS@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
LBB0_3:
	movl	%edx, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpq	$0, 8(%r14)
	cmovnel	%eax, %ecx
	movl	(%r14), %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GROUP0_NR_IRQS,4,2             ## @GROUP0_NR_IRQS
	.comm	_IRQ_MASK_BASE,4,2              ## @IRQ_MASK_BASE
	.comm	_GROUP1_NR_IRQS,4,2             ## @GROUP1_NR_IRQS
	.no_dead_strip	_wcove_update_irq_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wcove_update_irq_mask
_wcove_update_irq_mask:                 ; @wcove_update_irq_mask
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GROUP0_NR_IRQS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GROUP0_NR_IRQS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IRQ_MASK_BASE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IRQ_MASK_BASE@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x9]
	cmp	w8, w1
	b.le	LBB0_2
; %bb.1:
	sdiv	w9, w1, w8
	msub	w0, w9, w8, w1
	b	LBB0_3
LBB0_2:
	add	w20, w20, #1
	sub	w8, w1, w8
Lloh6:
	adrp	x9, _GROUP1_NR_IRQS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GROUP1_NR_IRQS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w0, w10, w9, w8
LBB0_3:
	bl	_BIT
	mov	x2, x0
	ldr	x8, [x19, #8]
	cmp	x8, #0
	csel	w3, wzr, w0, eq
	ldr	w0, [x19]
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GROUP0_NR_IRQS,4,2             ; @GROUP0_NR_IRQS
	.comm	_IRQ_MASK_BASE,4,2              ; @IRQ_MASK_BASE
	.comm	_GROUP1_NR_IRQS,4,2             ; @GROUP1_NR_IRQS
	.no_dead_strip	_wcove_update_irq_mask
.subsections_via_symbols
