	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucb1x00_irq
_ucb1x00_irq:                           ## @ucb1x00_irq
	.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
	callq	_irq_desc_get_handler_data
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ucb1x00_enable
	movq	_UCB_IE_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ucb1x00_reg_read
	movl	%eax, %r15d
	movq	_UCB_IE_CLEAR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ucb1x00_reg_write
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_ucb1x00_reg_write
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	$1, %r15b
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	callq	_generic_handle_irq
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$14, %rbx
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movl	%r15d, %eax
	shrl	%eax
	cmpl	$1, %r15d
	movl	%eax, %r15d
	ja	LBB0_2
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ucb1x00_disable                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UCB_IE_STATUS,4,2              ## @UCB_IE_STATUS
	.comm	_UCB_IE_CLEAR,4,2               ## @UCB_IE_CLEAR
	.no_dead_strip	_ucb1x00_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucb1x00_irq
_ucb1x00_irq:                           ; @ucb1x00_irq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_irq_desc_get_handler_data
	mov	x19, x0
	bl	_ucb1x00_enable
Lloh0:
	adrp	x8, _UCB_IE_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UCB_IE_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ucb1x00_reg_read
	mov	x20, x0
Lloh3:
	adrp	x21, _UCB_IE_CLEAR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _UCB_IE_CLEAR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_ucb1x00_reg_write
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_ucb1x00_reg_write
	cbz	w20, LBB0_6
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w20, #0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	add	x0, x21, x8
	bl	_generic_handle_irq
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, #14
	b.hi	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	lsr	w8, w20, #1
	cmp	w20, #1
	mov	x20, x8
	b.hi	LBB0_2
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ucb1x00_disable
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UCB_IE_STATUS,4,2              ; @UCB_IE_STATUS
	.comm	_UCB_IE_CLEAR,4,2               ; @UCB_IE_CLEAR
	.no_dead_strip	_ucb1x00_irq
.subsections_via_symbols
