	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lomac_valid
_lomac_valid:                           ## @lomac_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movl	16(%rdi), %ecx
	movq	_MAC_LOMAC_FLAG_SINGLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_2
## %bb.1:
	andl	$-4, %ecx
	cmpl	$128, %ecx
	je	LBB0_3
	jmp	LBB0_12
LBB0_2:
	movq	_MAC_LOMAC_TYPE_UNDEF@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_12
LBB0_3:
	movq	_MAC_LOMAC_FLAG_AUX@GOTPCREL(%rip), %rdx
	movl	12(%rdi), %ecx
	testl	%eax, (%rdx)
	je	LBB0_5
## %bb.4:
	andl	$-4, %ecx
	cmpl	$128, %ecx
	je	LBB0_6
	jmp	LBB0_12
LBB0_5:
	movq	_MAC_LOMAC_TYPE_UNDEF@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_12
LBB0_6:
	movq	_MAC_LOMAC_FLAG_RANGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.7:
	movl	8(%rdi), %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.8:
	movl	4(%rdi), %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.9:
	leaq	8(%rdi), %rsi
	addq	$4, %rdi
	callq	_lomac_dominate_element
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_12
	jmp	LBB0_13
LBB0_10:
	movl	8(%rdi), %ecx
	movq	_MAC_LOMAC_TYPE_UNDEF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	cmpl	%ecx, 4(%rdi)
	je	LBB0_13
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_LOMAC_FLAG_SINGLE,4,2      ## @MAC_LOMAC_FLAG_SINGLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAC_LOMAC_TYPE_UNDEF,4,2       ## @MAC_LOMAC_TYPE_UNDEF
	.comm	_MAC_LOMAC_FLAG_AUX,4,2         ## @MAC_LOMAC_FLAG_AUX
	.comm	_MAC_LOMAC_FLAG_RANGE,4,2       ## @MAC_LOMAC_FLAG_RANGE
	.no_dead_strip	_lomac_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lomac_valid
_lomac_valid:                           ; @lomac_valid
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MAC_LOMAC_FLAG_SINGLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAC_LOMAC_FLAG_SINGLE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	ldr	w9, [x0, #16]
	tst	w10, w8
	b.eq	LBB0_2
; %bb.1:
	and	w9, w9, #0xfffffffc
	cmp	w9, #128
	b.eq	LBB0_3
	b	LBB0_13
LBB0_2:
Lloh3:
	adrp	x10, _MAC_LOMAC_TYPE_UNDEF@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MAC_LOMAC_TYPE_UNDEF@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_13
LBB0_3:
Lloh6:
	adrp	x9, _MAC_LOMAC_FLAG_AUX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAC_LOMAC_FLAG_AUX@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x9]
	ldr	w9, [x0, #12]
	tst	w10, w8
	b.eq	LBB0_5
; %bb.4:
	and	w9, w9, #0xfffffffc
	cmp	w9, #128
	b.eq	LBB0_6
	b	LBB0_13
LBB0_5:
Lloh9:
	adrp	x10, _MAC_LOMAC_TYPE_UNDEF@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MAC_LOMAC_TYPE_UNDEF@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_13
LBB0_6:
Lloh12:
	adrp	x9, _MAC_LOMAC_FLAG_RANGE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MAC_LOMAC_FLAG_RANGE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.7:
	mov	x1, x0
	ldr	w8, [x1, #8]!
	and	w8, w8, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.8:
	ldr	w8, [x0, #4]!
	and	w8, w8, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.9:
	bl	_lomac_dominate_element
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, wzr, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w8, [x0, #8]
Lloh18:
	adrp	x9, _MAC_LOMAC_TYPE_UNDEF@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MAC_LOMAC_TYPE_UNDEF@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.11:
	ldr	w9, [x0, #4]
	cmp	w9, w8
	b.ne	LBB0_13
; %bb.12:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_LOMAC_FLAG_SINGLE,4,2      ; @MAC_LOMAC_FLAG_SINGLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAC_LOMAC_TYPE_UNDEF,4,2       ; @MAC_LOMAC_TYPE_UNDEF
	.comm	_MAC_LOMAC_FLAG_AUX,4,2         ; @MAC_LOMAC_FLAG_AUX
	.comm	_MAC_LOMAC_FLAG_RANGE,4,2       ; @MAC_LOMAC_FLAG_RANGE
	.no_dead_strip	_lomac_valid
.subsections_via_symbols
