	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xadc_axi_update_alarm
_xadc_axi_update_alarm:                 ## @xadc_axi_update_alarm
	.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
	movq	%rdi, %r14
	movl	%esi, %eax
	andl	$7, %eax
	movl	%esi, %ecx
	shrl	$3, %ecx
	andl	$1, %ecx
	leal	(%rcx,%rax,2), %ebx
	shll	$6, %esi
	andl	$15360, %esi                    ## imm = 0x3C00
	orl	%esi, %ebx
	callq	_spin_lock_irqsave
	movq	_XADC_AXI_REG_IPIER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_xadc_read_reg
	movq	_XADC_AXI_INT_ALARM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	orl	%ebx, %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_xadc_write_reg
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XADC_AXI_REG_IPIER,4,2         ## @XADC_AXI_REG_IPIER
	.comm	_XADC_AXI_INT_ALARM_MASK,4,2    ## @XADC_AXI_INT_ALARM_MASK
	.no_dead_strip	_xadc_axi_update_alarm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xadc_axi_update_alarm
_xadc_axi_update_alarm:                 ; @xadc_axi_update_alarm
	.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	x19, x0
	lsr	w8, w1, #4
	ubfx	w20, w1, #3, #1
	bfi	w20, w1, #1, #3
	bfi	w20, w8, #10, #4
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x21, _XADC_AXI_REG_IPIER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _XADC_AXI_REG_IPIER@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_xadc_read_reg
Lloh2:
	adrp	x8, _XADC_AXI_INT_ALARM_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XADC_AXI_INT_ALARM_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	orr	w2, w20, w8
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_xadc_write_reg
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XADC_AXI_REG_IPIER,4,2         ; @XADC_AXI_REG_IPIER
	.comm	_XADC_AXI_INT_ALARM_MASK,4,2    ; @XADC_AXI_INT_ALARM_MASK
	.no_dead_strip	_xadc_axi_update_alarm
.subsections_via_symbols
