	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function openpam_facility_index_name
_openpam_facility_index_name:           ## @openpam_facility_index_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_pam_facility_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdi,8), %rdx
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdi
	callq	_asprintf
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	-16(%rbp), %rbx
	movb	4(%rbx), %al
	testb	%al, %al
	je	LBB0_6
## %bb.3:
	addq	$5, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %edi
	callq	_toupper
	movb	%al, -1(%rbx)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_4
## %bb.5:
	movq	-16(%rbp), %rbx
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pam_facility_name,8,3          ## @pam_facility_name
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PAM_%s"

	.no_dead_strip	_openpam_facility_index_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function openpam_facility_index_name
_openpam_facility_index_name:           ; @openpam_facility_index_name
	.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
Lloh0:
	adrp	x8, _pam_facility_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pam_facility_name@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x2, [x8, x0, lsl #3]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_asprintf
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	ldr	x0, [sp, #8]
	ldrb	w8, [x0, #4]
	cbz	w8, LBB0_6
; %bb.2:
	add	x19, x0, #5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w0, w8, #0xff
	bl	_toupper
	sturb	w0, [x19, #-1]
	ldrb	w8, [x19], #1
	cbnz	w8, LBB0_3
; %bb.4:
	ldr	x0, [sp, #8]
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pam_facility_name,8,3          ; @pam_facility_name
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PAM_%s"

	.no_dead_strip	_openpam_facility_index_name
.subsections_via_symbols
