	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_rule_element
_parse_rule_element:                    ## @parse_rule_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, -40(%rbp)
	movq	_M_PORTACL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_M_ZERO@GOTPCREL(%rip), %rax
	movq	_M_WAITOK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$24, %edi
	callq	_malloc
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, 16(%r15)
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_7
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_free
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_7:
	movq	_UID_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	_GID_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.9:
	movq	_RULE_GID@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_RULE_UID@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_3
## %bb.12:
	movq	%rax, %rbx
	movq	_TCP_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	_UDP_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.14:
	movq	_RULE_PROTO_UDP@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_RULE_PROTO_TCP@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.17:
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, (%r15)
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	jne	LBB0_3
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%r15, (%r14)
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PORTACL,4,2                  ## @M_PORTACL
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UID_STRING,4,2                 ## @UID_STRING
	.comm	_RULE_UID,4,2                   ## @RULE_UID
	.comm	_GID_STRING,4,2                 ## @GID_STRING
	.comm	_RULE_GID,4,2                   ## @RULE_GID
	.comm	_TCP_STRING,4,2                 ## @TCP_STRING
	.comm	_RULE_PROTO_TCP,4,2             ## @RULE_PROTO_TCP
	.comm	_UDP_STRING,4,2                 ## @UDP_STRING
	.comm	_RULE_PROTO_UDP,4,2             ## @RULE_PROTO_UDP
	.no_dead_strip	_parse_rule_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_rule_element
_parse_rule_element:                    ; @parse_rule_element
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	str	x0, [sp, #8]
Lloh0:
	adrp	x22, _M_PORTACL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M_PORTACL@GOTPAGEOFF]
Lloh2:
	adrp	x8, _M_ZERO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_ZERO@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #24
	bl	_malloc
	mov	x20, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, sp
	mov	w2, #10
	bl	_strtol
	str	x0, [x20, #16]
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cbz	w8, LBB0_6
LBB0_3:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	cbz	w21, LBB0_5
; %bb.4:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_free
	mov	x20, #0
LBB0_5:
	str	x20, [x19]
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_6:
Lloh15:
	adrp	x8, _UID_STRING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UID_STRING@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.7:
Lloh18:
	adrp	x8, _GID_STRING@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GID_STRING@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.8:
Lloh21:
	adrp	x8, _RULE_GID@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RULE_GID@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh23:
	adrp	x8, _RULE_UID@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RULE_UID@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x20, #12]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_3
; %bb.11:
	mov	x21, x0
Lloh27:
	adrp	x8, _TCP_STRING@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TCP_STRING@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.12:
Lloh30:
	adrp	x8, _UDP_STRING@GOTPAGE
Lloh31:
	ldr	x8, [x8, _UDP_STRING@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.13:
Lloh33:
	adrp	x8, _RULE_PROTO_UDP@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RULE_PROTO_UDP@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh35:
	adrp	x8, _RULE_PROTO_TCP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RULE_PROTO_TCP@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_3
; %bb.16:
	mov	x1, sp
	mov	w2, #10
	bl	_strtol
	str	x0, [x20]
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.17:
	mov	w21, #0
	b	LBB0_5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PORTACL,4,2                  ; @M_PORTACL
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UID_STRING,4,2                 ; @UID_STRING
	.comm	_RULE_UID,4,2                   ; @RULE_UID
	.comm	_GID_STRING,4,2                 ; @GID_STRING
	.comm	_RULE_GID,4,2                   ; @RULE_GID
	.comm	_TCP_STRING,4,2                 ; @TCP_STRING
	.comm	_RULE_PROTO_TCP,4,2             ; @RULE_PROTO_TCP
	.comm	_UDP_STRING,4,2                 ; @UDP_STRING
	.comm	_RULE_PROTO_UDP,4,2             ; @RULE_PROTO_UDP
	.no_dead_strip	_parse_rule_element
.subsections_via_symbols
