	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef4_update_irq_mod
_ef4_update_irq_mod:                    ## @ef4_update_irq_mod
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	(%rdi), %eax
	movq	(%rsi), %rcx
	movq	_irq_adapt_low_thresh@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_2
## %bb.1:
	movl	8(%rbx), %ecx
	subl	%eax, %ecx
	jg	LBB0_5
	jmp	LBB0_6
LBB0_2:
	movq	_irq_adapt_high_thresh@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_6
## %bb.3:
	movl	8(%rbx), %ecx
	cmpl	4(%rdi), %ecx
	jge	LBB0_6
## %bb.4:
	addl	%eax, %ecx
LBB0_5:
	movl	%ecx, 8(%rbx)
	movq	8(%rdi), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_6:
	movq	$0, 16(%rbx)
	movq	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_irq_adapt_low_thresh,8,3       ## @irq_adapt_low_thresh
	.comm	_irq_adapt_high_thresh,8,3      ## @irq_adapt_high_thresh
	.no_dead_strip	_ef4_update_irq_mod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ef4_update_irq_mod
_ef4_update_irq_mod:                    ; @ef4_update_irq_mod
	.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
	ldr	w8, [x0]
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _irq_adapt_low_thresh@GOTPAGE
Lloh1:
	ldr	x10, [x10, _irq_adapt_low_thresh@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_2
; %bb.1:
	ldr	w9, [x19, #8]
	subs	w8, w9, w8
	b.gt	LBB0_5
	b	LBB0_6
LBB0_2:
Lloh3:
	adrp	x10, _irq_adapt_high_thresh@GOTPAGE
Lloh4:
	ldr	x10, [x10, _irq_adapt_high_thresh@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_6
; %bb.3:
	ldr	w9, [x19, #8]
	ldr	w10, [x0, #4]
	cmp	w9, w10
	b.ge	LBB0_6
; %bb.4:
	add	w8, w9, w8
LBB0_5:
	str	w8, [x19, #8]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
LBB0_6:
	str	xzr, [x19, #16]
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_irq_adapt_low_thresh,8,3       ; @irq_adapt_low_thresh
	.comm	_irq_adapt_high_thresh,8,3      ; @irq_adapt_high_thresh
	.no_dead_strip	_ef4_update_irq_mod
.subsections_via_symbols
