	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucb1x00_detect_irq
_ucb1x00_detect_irq:                    ## @ucb1x00_detect_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	%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
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_probe_irq_on
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_UCB_IE_RIS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UCB_IE_ADC@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_ucb1x00_reg_write
	movq	_UCB_IE_FAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_ucb1x00_reg_write
	movq	_UCB_IE_CLEAR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_ucb1x00_reg_write
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ucb1x00_reg_write
	movq	_UCB_ADC_CR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_UCB_ADC_ENA@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_ucb1x00_reg_write
	movl	(%r12), %esi
	movq	_UCB_ADC_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_ucb1x00_reg_write
	movq	_UCB_ADC_DATA@GOTPCREL(%rip), %r13
	movq	_UCB_ADC_DAT_VAL@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_ucb1x00_reg_read
	testl	%eax, (%r14)
	je	LBB0_1
## %bb.2:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ucb1x00_reg_write
	movq	_UCB_IE_RIS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ucb1x00_reg_write
	movq	_UCB_IE_FAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ucb1x00_reg_write
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_ucb1x00_reg_write
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ucb1x00_reg_write
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_probe_irq_off                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UCB_IE_RIS,4,2                 ## @UCB_IE_RIS
	.comm	_UCB_IE_ADC,4,2                 ## @UCB_IE_ADC
	.comm	_UCB_IE_FAL,4,2                 ## @UCB_IE_FAL
	.comm	_UCB_IE_CLEAR,4,2               ## @UCB_IE_CLEAR
	.comm	_UCB_ADC_CR,4,2                 ## @UCB_ADC_CR
	.comm	_UCB_ADC_ENA,4,2                ## @UCB_ADC_ENA
	.comm	_UCB_ADC_START,4,2              ## @UCB_ADC_START
	.comm	_UCB_ADC_DATA,4,2               ## @UCB_ADC_DATA
	.comm	_UCB_ADC_DAT_VAL,4,2            ## @UCB_ADC_DAT_VAL
	.no_dead_strip	_ucb1x00_detect_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucb1x00_detect_irq
_ucb1x00_detect_irq:                    ; @ucb1x00_detect_irq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	bl	_probe_irq_on
	mov	x19, x0
Lloh0:
	adrp	x22, _UCB_IE_RIS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _UCB_IE_RIS@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x21, _UCB_IE_ADC@GOTPAGE
Lloh3:
	ldr	x21, [x21, _UCB_IE_ADC@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_ucb1x00_reg_write
Lloh4:
	adrp	x23, _UCB_IE_FAL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _UCB_IE_FAL@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_ucb1x00_reg_write
Lloh6:
	adrp	x21, _UCB_IE_CLEAR@GOTPAGE
Lloh7:
	ldr	x21, [x21, _UCB_IE_CLEAR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #65535
	bl	_ucb1x00_reg_write
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #0
	bl	_ucb1x00_reg_write
Lloh8:
	adrp	x24, _UCB_ADC_CR@GOTPAGE
Lloh9:
	ldr	x24, [x24, _UCB_ADC_CR@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh10:
	adrp	x25, _UCB_ADC_ENA@GOTPAGE
Lloh11:
	ldr	x25, [x25, _UCB_ADC_ENA@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x20
	bl	_ucb1x00_reg_write
	ldr	w1, [x24]
	ldr	w8, [x25]
Lloh12:
	adrp	x9, _UCB_ADC_START@GOTPAGE
Lloh13:
	ldr	x9, [x9, _UCB_ADC_START@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_ucb1x00_reg_write
Lloh15:
	adrp	x25, _UCB_ADC_DATA@GOTPAGE
Lloh16:
	ldr	x25, [x25, _UCB_ADC_DATA@GOTPAGEOFF]
Lloh17:
	adrp	x26, _UCB_ADC_DAT_VAL@GOTPAGE
Lloh18:
	ldr	x26, [x26, _UCB_ADC_DAT_VAL@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x20
	bl	_ucb1x00_reg_read
	ldr	w8, [x26]
	tst	w8, w0
	b.eq	LBB0_1
; %bb.2:
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #0
	bl	_ucb1x00_reg_write
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #0
	bl	_ucb1x00_reg_write
	ldr	w1, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_ucb1x00_reg_write
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #65535
	bl	_ucb1x00_reg_write
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #0
	bl	_ucb1x00_reg_write
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_probe_irq_off
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_UCB_IE_RIS,4,2                 ; @UCB_IE_RIS
	.comm	_UCB_IE_ADC,4,2                 ; @UCB_IE_ADC
	.comm	_UCB_IE_FAL,4,2                 ; @UCB_IE_FAL
	.comm	_UCB_IE_CLEAR,4,2               ; @UCB_IE_CLEAR
	.comm	_UCB_ADC_CR,4,2                 ; @UCB_ADC_CR
	.comm	_UCB_ADC_ENA,4,2                ; @UCB_ADC_ENA
	.comm	_UCB_ADC_START,4,2              ; @UCB_ADC_START
	.comm	_UCB_ADC_DATA,4,2               ; @UCB_ADC_DATA
	.comm	_UCB_ADC_DAT_VAL,4,2            ; @UCB_ADC_DAT_VAL
	.no_dead_strip	_ucb1x00_detect_irq
.subsections_via_symbols
