	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmar_gas_cmp_entries
_dmar_gas_cmp_entries:                  ## @dmar_gas_cmp_entries
	.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	%rdi, %r14
	movq	8(%rdi), %rax
	xorl	%edi, %edi
	cmpq	%rax, (%r14)
	setle	%dil
	movslq	%eax, %rsi
	callq	_KASSERT
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpq	%rax, (%rbx)
	setle	%dil
	movslq	%eax, %rsi
	callq	_KASSERT
	movq	8(%r14), %rdx
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	movl	$1, %edi
	cmpq	%rcx, %rdx
	jle	LBB0_4
## %bb.1:
	movq	(%r14), %rsi
	cmpq	%rsi, %rax
	jle	LBB0_4
## %bb.2:
	cmpq	%rsi, %rdx
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	sete	%dil
LBB0_4:
	movslq	%eax, %rsi
	callq	_KASSERT
	movq	8(%r14), %rax
	movq	8(%rbx), %rcx
	xorl	%edx, %edx
	cmpq	%rax, %rcx
	setl	%dl
	movl	$-1, %eax
	cmovlel	%edx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dmar_gas_cmp_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmar_gas_cmp_entries
_dmar_gas_cmp_entries:                  ; @dmar_gas_cmp_entries
	.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
	mov	x20, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	cset	w0, le
	sxtw	x1, w9
	bl	_KASSERT
	ldp	x8, x9, [x19]
	cmp	x8, x9
	cset	w0, le
	sxtw	x1, w9
	bl	_KASSERT
	ldr	x9, [x20, #8]
	ldp	x10, x8, [x19]
	cmp	x9, x10
	b.le	LBB0_2
; %bb.1:
	ldr	x11, [x20]
	mov	w12, #1
	cmp	x8, x10
	cset	w10, eq
	cmp	x8, x11
	ccmp	x9, x11, #4, gt
	csel	w0, w12, w10, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	sxtw	x1, w8
	bl	_KASSERT
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x9, x8
	cset	w10, lt
	cmp	x8, x9
	csinv	w0, w10, wzr, ge
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dmar_gas_cmp_entries
.subsections_via_symbols
