	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm8xxx_irq_block_handler
_pm8xxx_irq_block_handler:              ## @pm8xxx_irq_block_handler
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	-28(%rbp), %rdx
	callq	_pm8xxx_read_block_irq
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_20
## %bb.3:
	shll	$3, %ebx
	testb	$1, %al
	jne	LBB0_4
## %bb.5:
	testb	$2, %al
	jne	LBB0_6
LBB0_7:
	testb	$4, %al
	jne	LBB0_8
LBB0_9:
	testb	$8, %al
	jne	LBB0_10
LBB0_11:
	testb	$16, %al
	jne	LBB0_12
LBB0_13:
	testb	$32, %al
	jne	LBB0_14
LBB0_15:
	testb	$64, %al
	jne	LBB0_16
LBB0_17:
	testb	$-128, %al
	je	LBB0_19
	jmp	LBB0_18
LBB0_20:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_19
LBB0_4:
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	movl	-28(%rbp), %eax
	testb	$2, %al
	je	LBB0_7
LBB0_6:
	movl	%ebx, %esi
	orl	$1, %esi
	movl	(%r15), %edi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	movl	-28(%rbp), %eax
	testb	$4, %al
	je	LBB0_9
LBB0_8:
	movl	%ebx, %esi
	orl	$2, %esi
	movl	(%r15), %edi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	movl	-28(%rbp), %eax
	testb	$8, %al
	je	LBB0_11
LBB0_10:
	movl	%ebx, %esi
	orl	$3, %esi
	movl	(%r15), %edi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	movl	-28(%rbp), %eax
	testb	$16, %al
	je	LBB0_13
LBB0_12:
	movl	%ebx, %esi
	orl	$4, %esi
	movl	(%r15), %edi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	movl	-28(%rbp), %eax
	testb	$32, %al
	je	LBB0_15
LBB0_14:
	movl	%ebx, %esi
	orl	$5, %esi
	movl	(%r15), %edi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	movl	-28(%rbp), %eax
	testb	$64, %al
	je	LBB0_17
LBB0_16:
	movl	%ebx, %esi
	orl	$6, %esi
	movl	(%r15), %edi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	movl	-28(%rbp), %eax
	testb	$-128, %al
	je	LBB0_19
LBB0_18:
	orl	$7, %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed reading %d block ret=%d"

L_.str.1:                               ## @.str.1
	.asciz	"block bit set in master but no irqs: %d"

	.no_dead_strip	_pm8xxx_irq_block_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm8xxx_irq_block_handler
_pm8xxx_irq_block_handler:              ; @pm8xxx_irq_block_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x20, x0
	add	x2, sp, #12
	bl	_pm8xxx_read_block_irq
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.1:
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	mov	x1, x21
	bl	_pr_err
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_13
; %bb.5:
	lsl	w21, w21, #3
	tbnz	w8, #0, LBB0_14
; %bb.6:
	tbnz	w8, #1, LBB0_15
LBB0_7:
	tbnz	w8, #2, LBB0_16
LBB0_8:
	tbnz	w8, #3, LBB0_17
LBB0_9:
	tbnz	w8, #4, LBB0_18
LBB0_10:
	tbnz	w8, #5, LBB0_19
LBB0_11:
	tbnz	w8, #6, LBB0_20
LBB0_12:
	tbz	w8, #7, LBB0_3
	b	LBB0_21
LBB0_13:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_14:
	ldr	w0, [x20]
	mov	x1, x21
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	ldr	w8, [sp, #12]
	tbz	w8, #1, LBB0_7
LBB0_15:
	orr	w1, w21, #0x1
	ldr	w0, [x20]
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	ldr	w8, [sp, #12]
	tbz	w8, #2, LBB0_8
LBB0_16:
	orr	w1, w21, #0x2
	ldr	w0, [x20]
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	ldr	w8, [sp, #12]
	tbz	w8, #3, LBB0_9
LBB0_17:
	orr	w1, w21, #0x3
	ldr	w0, [x20]
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	ldr	w8, [sp, #12]
	tbz	w8, #4, LBB0_10
LBB0_18:
	orr	w1, w21, #0x4
	ldr	w0, [x20]
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	ldr	w8, [sp, #12]
	tbz	w8, #5, LBB0_11
LBB0_19:
	mov	w8, #5
	orr	w1, w21, w8
	ldr	w0, [x20]
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	ldr	w8, [sp, #12]
	tbz	w8, #6, LBB0_12
LBB0_20:
	orr	w1, w21, #0x6
	ldr	w0, [x20]
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	ldr	w8, [sp, #12]
	tbz	w8, #7, LBB0_3
LBB0_21:
	orr	w1, w21, #0x7
	ldr	w0, [x20]
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed reading %d block ret=%d"

l_.str.1:                               ; @.str.1
	.asciz	"block bit set in master but no irqs: %d"

	.no_dead_strip	_pm8xxx_irq_block_handler
.subsections_via_symbols
