	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_group_set_type            ## -- Begin function auth_group_set_type
	.p2align	4, 0x90
_auth_group_set_type:                   ## @auth_group_set_type
	.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
	.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_1
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_14
LBB0_1:
	movq	_AG_TYPE_NO_AUTHENTICATION@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movq	_AG_TYPE_DENY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movq	_AG_TYPE_CHAP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	movq	_AG_TYPE_CHAP_MUTUAL@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movl	(%r14), %ecx
	movq	_AG_TYPE_UNKNOWN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_17
## %bb.3:
	cmpl	%eax, %ecx
	je	LBB0_17
## %bb.4:
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.5:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_14
LBB0_17:
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_16:
	movq	8(%r14), %rax
	movq	(%rax), %rdx
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_14
LBB0_15:
	movq	8(%r14), %rax
	movq	(%rax), %rdx
	leaq	L_.str.5(%rip), %rdi
LBB0_14:
	movq	%rbx, %rsi
	callq	_log_warnx
	movl	$1, %eax
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"none"

	.comm	_AG_TYPE_NO_AUTHENTICATION,4,2  ## @AG_TYPE_NO_AUTHENTICATION
L_.str.1:                               ## @.str.1
	.asciz	"deny"

	.comm	_AG_TYPE_DENY,4,2               ## @AG_TYPE_DENY
L_.str.2:                               ## @.str.2
	.asciz	"chap"

	.comm	_AG_TYPE_CHAP,4,2               ## @AG_TYPE_CHAP
L_.str.3:                               ## @.str.3
	.asciz	"chap-mutual"

	.comm	_AG_TYPE_CHAP_MUTUAL,4,2        ## @AG_TYPE_CHAP_MUTUAL
L_.str.4:                               ## @.str.4
	.asciz	"invalid auth-type \"%s\" for auth-group \"%s\""

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

	.comm	_AG_TYPE_UNKNOWN,4,2            ## @AG_TYPE_UNKNOWN
L_.str.6:                               ## @.str.6
	.asciz	"cannot set auth-type to \"%s\" for auth-group \"%s\"; already has a different type"

L_.str.7:                               ## @.str.7
	.asciz	"cannot set auth-type to \"%s\" for target \"%s\"; already has a different type"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_group_set_type            ; -- Begin function auth_group_set_type
	.p2align	2
_auth_group_set_type:                   ; @auth_group_set_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.4:
	ldr	x2, [x20, #16]
	cbz	x2, LBB0_15
; %bb.5:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_6:
Lloh10:
	adrp	x8, _AG_TYPE_NO_AUTHENTICATION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AG_TYPE_NO_AUTHENTICATION@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh12:
	adrp	x8, _AG_TYPE_DENY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AG_TYPE_DENY@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh14:
	adrp	x8, _AG_TYPE_CHAP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AG_TYPE_CHAP@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh16:
	adrp	x8, _AG_TYPE_CHAP_MUTUAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AG_TYPE_CHAP_MUTUAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	ldr	w9, [x20]
Lloh18:
	adrp	x10, _AG_TYPE_UNKNOWN@GOTPAGE
Lloh19:
	ldr	x10, [x10, _AG_TYPE_UNKNOWN@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	cmp	w9, w10
	ccmp	w9, w8, #4, ne
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #0
	str	w8, [x20]
	b	LBB0_17
LBB0_12:
	ldr	x2, [x20, #16]
	cbz	x2, LBB0_14
; %bb.13:
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_16
LBB0_14:
	ldr	x8, [x20, #8]
	ldr	x2, [x8]
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_16
LBB0_15:
	ldr	x8, [x20, #8]
	ldr	x2, [x8]
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_16:
	mov	x1, x19
	bl	_log_warnx
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"none"

	.comm	_AG_TYPE_NO_AUTHENTICATION,4,2  ; @AG_TYPE_NO_AUTHENTICATION
l_.str.1:                               ; @.str.1
	.asciz	"deny"

	.comm	_AG_TYPE_DENY,4,2               ; @AG_TYPE_DENY
l_.str.2:                               ; @.str.2
	.asciz	"chap"

	.comm	_AG_TYPE_CHAP,4,2               ; @AG_TYPE_CHAP
l_.str.3:                               ; @.str.3
	.asciz	"chap-mutual"

	.comm	_AG_TYPE_CHAP_MUTUAL,4,2        ; @AG_TYPE_CHAP_MUTUAL
l_.str.4:                               ; @.str.4
	.asciz	"invalid auth-type \"%s\" for auth-group \"%s\""

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

	.comm	_AG_TYPE_UNKNOWN,4,2            ; @AG_TYPE_UNKNOWN
l_.str.6:                               ; @.str.6
	.asciz	"cannot set auth-type to \"%s\" for auth-group \"%s\"; already has a different type"

l_.str.7:                               ; @.str.7
	.asciz	"cannot set auth-type to \"%s\" for target \"%s\"; already has a different type"

.subsections_via_symbols
