	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_sham_irq_omap2
_omap_sham_irq_omap2:                   ## @omap_sham_irq_omap2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_FLAGS_FINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SHA_REG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SHA_REG_CTRL_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_omap_sham_write_mask
LBB0_2:
	movq	_SHA_REG_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_SHA_REG_CTRL_OUTPUT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_omap_sham_write_mask
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_omap_sham_read
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_omap_sham_irq_common           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAGS_FINAL,4,2                ## @FLAGS_FINAL
	.comm	_SHA_REG_CTRL,4,2               ## @SHA_REG_CTRL
	.comm	_SHA_REG_CTRL_LENGTH,4,2        ## @SHA_REG_CTRL_LENGTH
	.comm	_SHA_REG_CTRL_OUTPUT_READY,4,2  ## @SHA_REG_CTRL_OUTPUT_READY
	.no_dead_strip	_omap_sham_irq_omap2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_sham_irq_omap2
_omap_sham_irq_omap2:                   ; @omap_sham_irq_omap2
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _FLAGS_FINAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAGS_FINAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_test_bit
	bl	_unlikely
Lloh3:
	adrp	x20, _SHA_REG_CTRL@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SHA_REG_CTRL@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _SHA_REG_CTRL_LENGTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHA_REG_CTRL_LENGTH@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_omap_sham_write_mask
LBB0_2:
	ldr	w1, [x20]
Lloh8:
	adrp	x8, _SHA_REG_CTRL_OUTPUT_READY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SHA_REG_CTRL_OUTPUT_READY@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_omap_sham_write_mask
	ldr	w1, [x20]
	mov	x0, x19
	bl	_omap_sham_read
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_omap_sham_irq_common
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAGS_FINAL,4,2                ; @FLAGS_FINAL
	.comm	_SHA_REG_CTRL,4,2               ; @SHA_REG_CTRL
	.comm	_SHA_REG_CTRL_LENGTH,4,2        ; @SHA_REG_CTRL_LENGTH
	.comm	_SHA_REG_CTRL_OUTPUT_READY,4,2  ; @SHA_REG_CTRL_OUTPUT_READY
	.no_dead_strip	_omap_sham_irq_omap2
.subsections_via_symbols
