	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lomac_parse
_lomac_parse:                           ## @lomac_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	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movl	$40, %esi
	callq	_strchr
	movq	%rax, %r13
	xorl	%r15d, %r15d
	cmpq	%rbx, %rax
	movq	%rbx, %r14
	cmoveq	%r15, %r14
	movq	%rbx, %rdi
	movl	$91, %esi
	callq	_strchr
	movq	%rax, %r12
	cmpq	%r14, %rax
	cmoveq	%r15, %r14
	testq	%r13, %r13
	je	LBB0_4
## %bb.1:
	testq	%r12, %r12
	je	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testq	%r13, %r13
	je	LBB0_5
## %bb.6:
	movb	$0, (%r13)
	incq	%r13
	movq	%r13, %rdi
	movl	$45, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:
	cmpb	$0, (%r13)
	je	LBB0_2
## %bb.8:
	movq	%rax, %r15
	leaq	1(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_2
## %bb.9:
	movq	%rdi, %rbx
	movl	$41, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	cmpb	$0, 1(%rax)
	jne	LBB0_2
## %bb.11:
	movb	$0, (%r15)
	movb	$0, (%rax)
	jmp	LBB0_12
LBB0_5:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
LBB0_12:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	testq	%r13, %r13
	setne	%al
	testq	%rbx, %rbx
	setne	%cl
	andb	%al, %cl
	movq	%r13, %rax
	orq	%rbx, %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	testq	%r12, %r12
	je	LBB0_13
## %bb.14:
	movb	$0, (%r12)
	incq	%r12
	movq	%r12, %rdi
	movl	$93, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.15:
	cmpb	$0, 1(%rax)
	jne	LBB0_2
## %bb.16:
	movb	$0, (%rax)
	jmp	LBB0_17
LBB0_13:
	xorl	%r12d, %r12d
LBB0_17:
	movq	%r15, %rdi
	movl	$20, %esi
	callq	_bzero
	testq	%r14, %r14
	je	LBB0_20
## %bb.18:
	leaq	16(%r15), %rdi
	movq	%r14, %rsi
	callq	_lomac_parse_element
	testl	%eax, %eax
	jne	LBB0_3
## %bb.19:
	movq	_MAC_LOMAC_FLAG_SINGLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_20:
	testq	%r12, %r12
	je	LBB0_23
## %bb.21:
	leaq	12(%r15), %rdi
	movq	%r12, %rsi
	callq	_lomac_parse_element
	testl	%eax, %eax
	jne	LBB0_3
## %bb.22:
	movq	_MAC_LOMAC_FLAG_AUX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_23:
	testq	%r13, %r13
	je	LBB0_27
## %bb.24:
	leaq	8(%r15), %rdi
	movq	%r13, %rsi
	callq	_lomac_parse_element
	testl	%eax, %eax
	jne	LBB0_3
## %bb.25:
	leaq	4(%r15), %rdi
	movq	%rbx, %rsi
	callq	_lomac_parse_element
	testl	%eax, %eax
	jne	LBB0_3
## %bb.26:
	movq	_MAC_LOMAC_FLAG_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_27:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lomac_valid                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lomac_internalize_label: range mismatch"

	.comm	_MAC_LOMAC_FLAG_SINGLE,4,2      ## @MAC_LOMAC_FLAG_SINGLE
	.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_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lomac_parse
_lomac_parse:                           ; @lomac_parse
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #40
	bl	_strchr
	mov	x20, x0
	cmp	x0, x21
	csel	x23, xzr, x21, eq
	mov	x0, x21
	mov	w1, #91
	bl	_strchr
	mov	x22, x0
	cmp	x0, x23
	csel	x23, xzr, x23, eq
	cbz	x20, LBB0_4
; %bb.1:
	cbz	x22, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	cbz	x20, LBB0_11
; %bb.5:
	strb	wzr, [x20], #1
	mov	x0, x20
	mov	w1, #45
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.6:
	ldrb	w8, [x20]
	cbz	w8, LBB0_2
; %bb.7:
	mov	x24, x0
	add	x21, x0, #1
	ldrb	w8, [x21]
	cbz	w8, LBB0_2
; %bb.8:
	mov	x0, x21
	mov	w1, #41
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.9:
	ldrb	w8, [x0, #1]
	cbnz	w8, LBB0_2
; %bb.10:
	strb	wzr, [x24]
	strb	wzr, [x0]
	b	LBB0_12
LBB0_11:
	mov	x21, #0
LBB0_12:
	cmp	x20, #0
	ccmp	x21, #0, #4, ne
	orr	x8, x20, x21
	ccmp	x8, #0, #4, eq
	cset	w0, eq
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	cbz	x22, LBB0_16
; %bb.13:
	strb	wzr, [x22], #1
	mov	x0, x22
	mov	w1, #93
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.14:
	ldrb	w8, [x0, #1]
	cbnz	w8, LBB0_2
; %bb.15:
	strb	wzr, [x0]
LBB0_16:
	mov	x0, x19
	mov	w1, #20
	bl	_bzero
	cbz	x23, LBB0_19
; %bb.17:
	add	x0, x19, #16
	mov	x1, x23
	bl	_lomac_parse_element
	cbnz	w0, LBB0_3
; %bb.18:
Lloh5:
	adrp	x8, _MAC_LOMAC_FLAG_SINGLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAC_LOMAC_FLAG_SINGLE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_19:
	cbz	x22, LBB0_22
; %bb.20:
	add	x0, x19, #12
	mov	x1, x22
	bl	_lomac_parse_element
	cbnz	w0, LBB0_3
; %bb.21:
Lloh8:
	adrp	x8, _MAC_LOMAC_FLAG_AUX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAC_LOMAC_FLAG_AUX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_22:
	cbz	x20, LBB0_26
; %bb.23:
	add	x0, x19, #8
	mov	x1, x20
	bl	_lomac_parse_element
	cbnz	w0, LBB0_3
; %bb.24:
	add	x0, x19, #4
	mov	x1, x21
	bl	_lomac_parse_element
	cbnz	w0, LBB0_3
; %bb.25:
Lloh11:
	adrp	x8, _MAC_LOMAC_FLAG_RANGE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC_LOMAC_FLAG_RANGE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_26:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_lomac_valid
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lomac_internalize_label: range mismatch"

	.comm	_MAC_LOMAC_FLAG_SINGLE,4,2      ; @MAC_LOMAC_FLAG_SINGLE
	.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_parse
.subsections_via_symbols
