	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max8925_irq_sync_unlock
_max8925_irq_sync_unlock:               ## @max8925_irq_sync_unlock
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_irq_data_get_irq_chip_data
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	_max8925_irq_sync_unlock.cache_chg.0(%rip), %r12b
	movb	_max8925_irq_sync_unlock.cache_chg.1(%rip), %r15b
	movb	_max8925_irq_sync_unlock.cache_on.0(%rip), %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movb	_max8925_irq_sync_unlock.cache_on.1(%rip), %al
	movb	%al, -42(%rbp)                  ## 1-byte Spill
	movb	_max8925_irq_sync_unlock.cache_rtc(%rip), %al
	movb	%al, -43(%rbp)                  ## 1-byte Spill
	movb	_max8925_irq_sync_unlock.cache_tsc(%rip), %al
	movb	%al, -44(%rbp)                  ## 1-byte Spill
	movq	_max8925_irqs@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_12
## %bb.1:
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %r14
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	(%r13), %rdi
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	movl	(%rdi,%rbx,8), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r14,%rax,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	4(%rdi,%rbx,8), %eax
	notb	%al
	andb	%al, -44(%rbp)                  ## 1-byte Folded Spill
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	4(%rdi,%rbx,8), %eax
	notb	%al
	andb	%al, -43(%rbp)                  ## 1-byte Folded Spill
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	4(%rdi,%rbx,8), %eax
	notb	%al
	andb	%al, -42(%rbp)                  ## 1-byte Folded Spill
	jmp	LBB0_11
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	4(%rdi,%rbx,8), %eax
	notb	%al
	andb	%al, -41(%rbp)                  ## 1-byte Folded Spill
	jmp	LBB0_11
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	4(%rdi,%rbx,8), %eax
	notb	%al
	andb	%al, %r15b
	jmp	LBB0_11
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	4(%rdi,%rbx,8), %eax
	notb	%al
	andb	%al, %r12b
	jmp	LBB0_11
LBB0_12:
	cmpb	%r12b, _max8925_irq_sync_unlock.cache_chg.0(%rip)
	je	LBB0_14
## %bb.13:
	movb	%r12b, _max8925_irq_sync_unlock.cache_chg.0(%rip)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	movzbl	%r12b, %edx
	movl	$133, %esi
	callq	_max8925_reg_write
LBB0_14:
	cmpb	%r15b, _max8925_irq_sync_unlock.cache_chg.1(%rip)
	je	LBB0_16
## %bb.15:
	movb	%r15b, _max8925_irq_sync_unlock.cache_chg.1(%rip)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	movzbl	%r15b, %edx
	movl	$132, %esi
	callq	_max8925_reg_write
LBB0_16:
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	cmpb	%cl, _max8925_irq_sync_unlock.cache_on.0(%rip)
	je	LBB0_18
## %bb.17:
	movb	%cl, _max8925_irq_sync_unlock.cache_on.0(%rip)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	movzbl	%cl, %edx
	movl	$131, %esi
	callq	_max8925_reg_write
LBB0_18:
	movb	-42(%rbp), %cl                  ## 1-byte Reload
	cmpb	%cl, _max8925_irq_sync_unlock.cache_on.1(%rip)
	je	LBB0_20
## %bb.19:
	movb	%cl, _max8925_irq_sync_unlock.cache_on.1(%rip)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	movzbl	%cl, %edx
	movl	$130, %esi
	callq	_max8925_reg_write
LBB0_20:
	movb	-43(%rbp), %cl                  ## 1-byte Reload
	cmpb	%cl, _max8925_irq_sync_unlock.cache_rtc(%rip)
	je	LBB0_22
## %bb.21:
	movb	%cl, _max8925_irq_sync_unlock.cache_rtc(%rip)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movzbl	%cl, %edx
	movl	$129, %esi
	callq	_max8925_reg_write
LBB0_22:
	movb	-44(%rbp), %cl                  ## 1-byte Reload
	cmpb	%cl, _max8925_irq_sync_unlock.cache_tsc(%rip)
	je	LBB0_24
## %bb.23:
	movb	%cl, _max8925_irq_sync_unlock.cache_tsc(%rip)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movzbl	%cl, %edx
	movl	$128, %esi
	callq	_max8925_reg_write
LBB0_24:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.section	__DATA,__data
_max8925_irq_sync_unlock.cache_chg.0:   ## @max8925_irq_sync_unlock.cache_chg.0
	.byte	255                             ## 0xff

_max8925_irq_sync_unlock.cache_chg.1:   ## @max8925_irq_sync_unlock.cache_chg.1
	.byte	255                             ## 0xff

_max8925_irq_sync_unlock.cache_on.0:    ## @max8925_irq_sync_unlock.cache_on.0
	.byte	255                             ## 0xff

_max8925_irq_sync_unlock.cache_on.1:    ## @max8925_irq_sync_unlock.cache_on.1
	.byte	255                             ## 0xff

_max8925_irq_sync_unlock.cache_rtc:     ## @max8925_irq_sync_unlock.cache_rtc
	.byte	255                             ## 0xff

_max8925_irq_sync_unlock.cache_tsc:     ## @max8925_irq_sync_unlock.cache_tsc
	.byte	255                             ## 0xff

	.comm	_max8925_irqs,8,3               ## @max8925_irqs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrong IRQ\n"

	.no_dead_strip	_max8925_irq_sync_unlock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max8925_irq_sync_unlock
_max8925_irq_sync_unlock:               ; @max8925_irq_sync_unlock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_irq_data_get_irq_chip_data
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _max8925_irq_sync_unlock.cache_chg.0@PAGE
	ldrb	w26, [x8, _max8925_irq_sync_unlock.cache_chg.0@PAGEOFF]
Lloh1:
	adrp	x8, _max8925_irq_sync_unlock.cache_chg.1@PAGE
	ldrb	w22, [x8, _max8925_irq_sync_unlock.cache_chg.1@PAGEOFF]
Lloh2:
	adrp	x8, _max8925_irq_sync_unlock.cache_on.0@PAGE
	ldrb	w27, [x8, _max8925_irq_sync_unlock.cache_on.0@PAGEOFF]
Lloh3:
	adrp	x8, _max8925_irq_sync_unlock.cache_on.1@PAGE
	ldrb	w25, [x8, _max8925_irq_sync_unlock.cache_on.1@PAGEOFF]
Lloh4:
	adrp	x8, _max8925_irq_sync_unlock.cache_rtc@PAGE
	ldrb	w23, [x8, _max8925_irq_sync_unlock.cache_rtc@PAGEOFF]
Lloh5:
	adrp	x8, _max8925_irq_sync_unlock.cache_tsc@PAGE
	ldrb	w21, [x8, _max8925_irq_sync_unlock.cache_tsc@PAGEOFF]
Lloh6:
	adrp	x24, _max8925_irqs@GOTPAGE
Lloh7:
	ldr	x24, [x24, _max8925_irqs@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x28, #0
	mov	x20, #0
Lloh8:
	adrp	x19, lJTI0_0@PAGE
Lloh9:
	add	x19, x19, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #16]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	x0, [x24]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	add	x28, x28, #8
	cmp	x20, w0, sxtw
	b.ge	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldr	w8, [x0, x28]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_6
	ldrb	w10, [x19, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, x28
	ldrb	w8, [x8, #4]
	bic	w21, w21, w8
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, x28
	ldrb	w8, [x8, #4]
	bic	w23, w23, w8
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, x28
	ldrb	w8, [x8, #4]
	bic	w25, w25, w8
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, x28
	ldrb	w8, [x8, #4]
	bic	w27, w27, w8
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, x28
	ldrb	w8, [x8, #4]
	bic	w22, w22, w8
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, x28
	ldrb	w8, [x8, #4]
	bic	w26, w26, w8
	b	LBB0_3
LBB0_12:
	adrp	x9, _max8925_irq_sync_unlock.cache_chg.0@PAGE
	ldrb	w8, [x9, _max8925_irq_sync_unlock.cache_chg.0@PAGEOFF]
	cmp	w8, w26, uxtb
	b.eq	LBB0_14
; %bb.13:
	strb	w26, [x9, _max8925_irq_sync_unlock.cache_chg.0@PAGEOFF]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #12]
	and	w2, w26, #0xff
	mov	w1, #133
	bl	_max8925_reg_write
LBB0_14:
	adrp	x9, _max8925_irq_sync_unlock.cache_chg.1@PAGE
	ldrb	w8, [x9, _max8925_irq_sync_unlock.cache_chg.1@PAGEOFF]
	cmp	w8, w22, uxtb
	b.eq	LBB0_16
; %bb.15:
	strb	w22, [x9, _max8925_irq_sync_unlock.cache_chg.1@PAGEOFF]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #12]
	and	w2, w22, #0xff
	mov	w1, #132
	bl	_max8925_reg_write
LBB0_16:
	adrp	x9, _max8925_irq_sync_unlock.cache_on.0@PAGE
	ldrb	w8, [x9, _max8925_irq_sync_unlock.cache_on.0@PAGEOFF]
	cmp	w8, w27, uxtb
	b.eq	LBB0_18
; %bb.17:
	strb	w27, [x9, _max8925_irq_sync_unlock.cache_on.0@PAGEOFF]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #12]
	and	w2, w27, #0xff
	mov	w1, #131
	bl	_max8925_reg_write
LBB0_18:
	adrp	x9, _max8925_irq_sync_unlock.cache_on.1@PAGE
	ldrb	w8, [x9, _max8925_irq_sync_unlock.cache_on.1@PAGEOFF]
	cmp	w8, w25, uxtb
	b.eq	LBB0_20
; %bb.19:
	strb	w25, [x9, _max8925_irq_sync_unlock.cache_on.1@PAGEOFF]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #12]
	and	w2, w25, #0xff
	mov	w1, #130
	bl	_max8925_reg_write
LBB0_20:
	adrp	x9, _max8925_irq_sync_unlock.cache_rtc@PAGE
	ldrb	w8, [x9, _max8925_irq_sync_unlock.cache_rtc@PAGEOFF]
	cmp	w8, w23, uxtb
	b.eq	LBB0_22
; %bb.21:
	strb	w23, [x9, _max8925_irq_sync_unlock.cache_rtc@PAGEOFF]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #8]
	and	w2, w23, #0xff
	mov	w1, #129
	bl	_max8925_reg_write
LBB0_22:
	adrp	x9, _max8925_irq_sync_unlock.cache_tsc@PAGE
	ldrb	w8, [x9, _max8925_irq_sync_unlock.cache_tsc@PAGEOFF]
	cmp	w8, w21, uxtb
	b.eq	LBB0_24
; %bb.23:
	strb	w21, [x9, _max8925_irq_sync_unlock.cache_tsc@PAGEOFF]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #4]
	and	w2, w21, #0xff
	mov	w1, #128
	bl	_max8925_reg_write
LBB0_24:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_mutex_unlock
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh3, Lloh4
	.loh AdrpAdrp	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh1, Lloh2
	.loh AdrpAdrp	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
                                        ; -- End function
	.section	__DATA,__data
_max8925_irq_sync_unlock.cache_chg.0:   ; @max8925_irq_sync_unlock.cache_chg.0
	.byte	255                             ; 0xff

_max8925_irq_sync_unlock.cache_chg.1:   ; @max8925_irq_sync_unlock.cache_chg.1
	.byte	255                             ; 0xff

_max8925_irq_sync_unlock.cache_on.0:    ; @max8925_irq_sync_unlock.cache_on.0
	.byte	255                             ; 0xff

_max8925_irq_sync_unlock.cache_on.1:    ; @max8925_irq_sync_unlock.cache_on.1
	.byte	255                             ; 0xff

_max8925_irq_sync_unlock.cache_rtc:     ; @max8925_irq_sync_unlock.cache_rtc
	.byte	255                             ; 0xff

_max8925_irq_sync_unlock.cache_tsc:     ; @max8925_irq_sync_unlock.cache_tsc
	.byte	255                             ; 0xff

	.comm	_max8925_irqs,8,3               ; @max8925_irqs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrong IRQ\n"

	.no_dead_strip	_max8925_irq_sync_unlock
.subsections_via_symbols
