	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function biba_parse
_biba_parse:                            ## @biba_parse
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsi, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strsep
	movq	%rax, %rbx
	movb	(%rax), %r13b
	xorl	%r12d, %r12d
	testb	%r13b, %r13b
	cmoveq	%r12, %rbx
	cmpq	$0, -48(%rbp)
	movl	$0, %r15d
	je	LBB0_5
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strsep
	cmpq	$0, -48(%rbp)
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strsep
	movq	%rax, %r12
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	cmpb	$0, (%rax)
	je	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
LBB0_5:
	testq	%r15, %r15
	setne	%al
	testq	%r12, %r12
	setne	%cl
	andb	%al, %cl
	movq	%r15, %rax
	orq	%r12, %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_KASSERT
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_bzero
	testb	%r13b, %r13b
	je	LBB0_8
## %bb.6:
	leaq	12(%r14), %rdi
	movq	%rbx, %rsi
	callq	_biba_parse_element
	testl	%eax, %eax
	jne	LBB0_13
## %bb.7:
	movq	_MAC_BIBA_FLAG_EFFECTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_8:
	testq	%r15, %r15
	je	LBB0_12
## %bb.9:
	leaq	8(%r14), %rdi
	movq	%r15, %rsi
	callq	_biba_parse_element
	testl	%eax, %eax
	jne	LBB0_13
## %bb.10:
	leaq	4(%r14), %rdi
	movq	%r12, %rsi
	callq	_biba_parse_element
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	movq	_MAC_BIBA_FLAG_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_12:
	movq	%r14, %rdi
	callq	_biba_valid
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"("

L_.str.1:                               ## @.str.1
	.asciz	"-"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	")"

L_.str.3:                               ## @.str.3
	.asciz	"biba_parse: range mismatch"

	.comm	_MAC_BIBA_FLAG_EFFECTIVE,4,2    ## @MAC_BIBA_FLAG_EFFECTIVE
	.comm	_MAC_BIBA_FLAG_RANGE,4,2        ## @MAC_BIBA_FLAG_RANGE
	.no_dead_strip	_biba_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function biba_parse
_biba_parse:                            ; @biba_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	str	x1, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	ldrb	w23, [x0]
	cmp	w23, #0
	csel	x22, xzr, x0, eq
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldrb	w8, [x8]
	cbz	w8, LBB0_15
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_14
LBB0_5:
	mov	x20, #0
	mov	x21, #0
LBB0_6:
	cmp	x21, #0
	ccmp	x20, #0, #4, ne
	orr	x8, x21, x20
	ccmp	x8, #0, #4, eq
	cset	w0, eq
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_KASSERT
	mov	x0, x19
	mov	w1, #16
	bl	_bzero
	cbz	w23, LBB0_9
; %bb.7:
	add	x0, x19, #12
	mov	x1, x22
	bl	_biba_parse_element
	cbnz	w0, LBB0_14
; %bb.8:
Lloh11:
	adrp	x8, _MAC_BIBA_FLAG_EFFECTIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC_BIBA_FLAG_EFFECTIVE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_9:
	cbz	x21, LBB0_13
; %bb.10:
	add	x0, x19, #8
	mov	x1, x21
	bl	_biba_parse_element
	cbnz	w0, LBB0_14
; %bb.11:
	add	x0, x19, #4
	mov	x1, x20
	bl	_biba_parse_element
	cbnz	w0, LBB0_14
; %bb.12:
Lloh14:
	adrp	x8, _MAC_BIBA_FLAG_RANGE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAC_BIBA_FLAG_RANGE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_13:
	mov	x0, x19
	bl	_biba_valid
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
	mov	x20, x0
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"("

l_.str.1:                               ; @.str.1
	.asciz	"-"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	")"

l_.str.3:                               ; @.str.3
	.asciz	"biba_parse: range mismatch"

	.comm	_MAC_BIBA_FLAG_EFFECTIVE,4,2    ; @MAC_BIBA_FLAG_EFFECTIVE
	.comm	_MAC_BIBA_FLAG_RANGE,4,2        ; @MAC_BIBA_FLAG_RANGE
	.no_dead_strip	_biba_parse
.subsections_via_symbols
