	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lomac_parse_element
_lomac_parse_element:                   ## @lomac_parse_element
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	ja	LBB0_14
## %bb.12:
	movq	_MAC_LOMAC_TYPE_GRADE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r14)
	movl	%eax, (%r14)
	movq	-24(%rbp), %rax
	cmpq	%rbx, %rax
	je	LBB0_14
## %bb.13:
	cmpb	$0, (%rax)
	je	LBB0_4
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_2:
	movq	_MAC_LOMAC_TYPE_HIGH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_MAC_LOMAC_TYPE_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_10:
	movq	_MAC_LOMAC_TYPE_EQUAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_MAC_LOMAC_TYPE_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_4:
	xorl	%eax, %eax
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"high"

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

	.comm	_MAC_LOMAC_TYPE_HIGH,4,2        ## @MAC_LOMAC_TYPE_HIGH
	.comm	_MAC_LOMAC_TYPE_UNDEF,8,3       ## @MAC_LOMAC_TYPE_UNDEF
L_.str.2:                               ## @.str.2
	.asciz	"low"

L_.str.3:                               ## @.str.3
	.asciz	"lo"

	.comm	_MAC_LOMAC_TYPE_LOW,4,2         ## @MAC_LOMAC_TYPE_LOW
L_.str.4:                               ## @.str.4
	.asciz	"equal"

L_.str.5:                               ## @.str.5
	.asciz	"eq"

	.comm	_MAC_LOMAC_TYPE_EQUAL,4,2       ## @MAC_LOMAC_TYPE_EQUAL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAC_LOMAC_TYPE_GRADE,4,2       ## @MAC_LOMAC_TYPE_GRADE
	.no_dead_strip	_lomac_parse_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lomac_parse_element
_lomac_parse_element:                   ; @lomac_parse_element
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.6:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #10
	bl	_strtol
	lsr	w8, w0, #16
	cbnz	w8, LBB0_9
; %bb.7:
Lloh12:
	adrp	x8, _MAC_LOMAC_TYPE_GRADE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAC_LOMAC_TYPE_GRADE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	stp	w0, w8, [x19]
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_9
; %bb.8:
	ldrb	w8, [x8]
	cbz	w8, LBB0_15
LBB0_9:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	b	LBB0_14
LBB0_10:
	mov	w0, #0
Lloh18:
	adrp	x8, _MAC_LOMAC_TYPE_HIGH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAC_LOMAC_TYPE_HIGH@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	w0, #0
Lloh20:
	adrp	x8, _MAC_LOMAC_TYPE_LOW@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAC_LOMAC_TYPE_LOW@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	mov	w0, #0
Lloh22:
	adrp	x8, _MAC_LOMAC_TYPE_EQUAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MAC_LOMAC_TYPE_EQUAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _MAC_LOMAC_TYPE_UNDEF@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MAC_LOMAC_TYPE_UNDEF@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	stp	w9, w8, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_15:
	mov	w0, #0
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"high"

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

	.comm	_MAC_LOMAC_TYPE_HIGH,4,2        ; @MAC_LOMAC_TYPE_HIGH
	.comm	_MAC_LOMAC_TYPE_UNDEF,8,3       ; @MAC_LOMAC_TYPE_UNDEF
l_.str.2:                               ; @.str.2
	.asciz	"low"

l_.str.3:                               ; @.str.3
	.asciz	"lo"

	.comm	_MAC_LOMAC_TYPE_LOW,4,2         ; @MAC_LOMAC_TYPE_LOW
l_.str.4:                               ; @.str.4
	.asciz	"equal"

l_.str.5:                               ; @.str.5
	.asciz	"eq"

	.comm	_MAC_LOMAC_TYPE_EQUAL,4,2       ; @MAC_LOMAC_TYPE_EQUAL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAC_LOMAC_TYPE_GRADE,4,2       ; @MAC_LOMAC_TYPE_GRADE
	.no_dead_strip	_lomac_parse_element
.subsections_via_symbols
