	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uclparse_target_portal_group
_uclparse_target_portal_group:          ## @uclparse_target_portal_group
	.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, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ucl_object_find_key
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r13
	movq	(%rax), %rax
	movq	_UCL_STRING@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_8
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ucl_object_find_key
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_12
LBB0_4:
	movq	_conf@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_ucl_object_tostring
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_portal_group_find
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rax, %r12
	testq	%r15, %r15
	je	LBB0_14
## %bb.6:
	movq	_conf@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_ucl_object_tostring
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_auth_group_find
	testq	%rax, %rax
	jne	LBB0_15
## %bb.7:
	movq	%r15, %rdi
	callq	_ucl_object_tostring
	movl	(%r14), %edx
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_18
LBB0_8:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_9:
	xorl	%eax, %eax
	callq	_log_warnx
LBB0_10:
	movl	$1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_9
LBB0_13:
	movq	%r13, %rdi
	callq	_ucl_object_tostring
	movl	(%r14), %edx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_18
LBB0_14:
	xorl	%eax, %eax
	movq	_conf@GOTPCREL(%rip), %rbx
LBB0_15:
	movq	%rax, %r15
	movl	(%rbx), %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_port_new
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%r15, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_17:
	movq	%r13, %rdi
	callq	_ucl_object_tostring
	movl	(%r14), %edx
	leaq	L_.str.6(%rip), %rdi
LBB0_18:
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_log_warnx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

	.comm	_UCL_STRING,8,3                 ## @UCL_STRING
L_.str.1:                               ## @.str.1
	.asciz	"portal-group section in target \"%s\" is missing \"name\" string key"

L_.str.2:                               ## @.str.2
	.asciz	"auth-group-name"

L_.str.3:                               ## @.str.3
	.asciz	"portal-group section in target \"%s\" is missing \"auth-group-name\" string key"

	.comm	_conf,4,2                       ## @conf
L_.str.4:                               ## @.str.4
	.asciz	"unknown portal-group \"%s\" for target \"%s\""

L_.str.5:                               ## @.str.5
	.asciz	"unknown auth-group \"%s\" for target \"%s\""

L_.str.6:                               ## @.str.6
	.asciz	"can't link portal-group \"%s\" to target \"%s\""

	.no_dead_strip	_uclparse_target_portal_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uclparse_target_portal_group
_uclparse_target_portal_group:          ; @uclparse_target_portal_group
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_ucl_object_find_key
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
Lloh2:
	adrp	x22, _UCL_STRING@GOTPAGE
Lloh3:
	ldr	x22, [x22, _UCL_STRING@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_ucl_object_find_key
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_4:
Lloh6:
	adrp	x24, _conf@GOTPAGE
Lloh7:
	ldr	x24, [x24, _conf@GOTPAGEOFF]
	ldr	w22, [x24]
	mov	x0, x20
	bl	_ucl_object_tostring
	mov	x1, x0
	mov	x0, x22
	bl	_portal_group_find
	cbz	x0, LBB0_12
; %bb.5:
	mov	x22, x0
	cbz	x21, LBB0_13
; %bb.6:
	ldr	w23, [x24]
	mov	x0, x21
	bl	_ucl_object_tostring
	mov	x1, x0
	mov	x0, x23
	bl	_auth_group_find
	mov	x23, x0
	cbnz	x0, LBB0_14
; %bb.7:
	mov	x0, x21
	bl	_ucl_object_tostring
	mov	x1, x0
	ldr	w8, [x19]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.5@PAGE
Lloh9:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_9
LBB0_8:
	ldr	w1, [x19]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_9:
	bl	_log_warnx
	mov	w0, #1
LBB0_10:
	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_11:
	ldr	w1, [x19]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_12:
	mov	x0, x20
	bl	_ucl_object_tostring
	mov	x1, x0
	ldr	w8, [x19]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_13:
	mov	x23, #0
LBB0_14:
	ldr	w0, [x24]
	mov	x1, x19
	mov	x2, x22
	bl	_port_new
	cbz	x0, LBB0_16
; %bb.15:
	mov	x8, x0
	mov	w0, #0
	str	x23, [x8]
	b	LBB0_10
LBB0_16:
	mov	x0, x20
	bl	_ucl_object_tostring
	mov	x1, x0
	ldr	w8, [x19]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.6@PAGE
Lloh17:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

	.comm	_UCL_STRING,8,3                 ; @UCL_STRING
l_.str.1:                               ; @.str.1
	.asciz	"portal-group section in target \"%s\" is missing \"name\" string key"

l_.str.2:                               ; @.str.2
	.asciz	"auth-group-name"

l_.str.3:                               ; @.str.3
	.asciz	"portal-group section in target \"%s\" is missing \"auth-group-name\" string key"

	.comm	_conf,4,2                       ; @conf
l_.str.4:                               ; @.str.4
	.asciz	"unknown portal-group \"%s\" for target \"%s\""

l_.str.5:                               ; @.str.5
	.asciz	"unknown auth-group \"%s\" for target \"%s\""

l_.str.6:                               ; @.str.6
	.asciz	"can't link portal-group \"%s\" to target \"%s\""

	.no_dead_strip	_uclparse_target_portal_group
.subsections_via_symbols
