	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pencode
_pencode:                               ## @pencode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	1(%rdi), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rbx), %eax
	testb	%al, %al
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$46, %al
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	jmp	LBB0_1
LBB0_7:
	xorl	%r15d, %r15d
	movq	%r14, %rbx
	jmp	LBB0_8
LBB0_4:
	movb	$0, -1(%rbx)
	movq	_facilitynames@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_decode
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_errx
LBB0_6:
	movb	$46, -1(%rbx)
LBB0_8:
	movq	_prioritynames@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_decode
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_errx
LBB0_10:
	movq	_LOG_PRIMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_LOG_FACMASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r15d
	orl	%eax, %r15d
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_facilitynames,4,2              ## @facilitynames
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown facility name: %s"

	.comm	_prioritynames,4,2              ## @prioritynames
L_.str.1:                               ## @.str.1
	.asciz	"unknown priority name: %s"

	.comm	_LOG_PRIMASK,4,2                ## @LOG_PRIMASK
	.comm	_LOG_FACMASK,4,2                ## @LOG_FACMASK
	.no_dead_strip	_pencode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pencode
_pencode:                               ; @pencode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	add	x20, x0, #1
	ldurb	w8, [x20, #-1]
	cbz	w8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #46
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x20, #1
	ldurb	w8, [x20, #-1]
	cbnz	w8, LBB0_1
LBB0_3:
	mov	w21, #0
	mov	x20, x19
	b	LBB0_7
LBB0_4:
	sturb	wzr, [x20, #-1]
Lloh0:
	adrp	x8, _facilitynames@GOTPAGE
Lloh1:
	ldr	x8, [x8, _facilitynames@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_decode
	mov	x21, x0
	tbz	w0, #31, LBB0_6
; %bb.5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_6:
	mov	w8, #46
	sturb	w8, [x20, #-1]
LBB0_7:
Lloh5:
	adrp	x8, _prioritynames@GOTPAGE
Lloh6:
	ldr	x8, [x8, _prioritynames@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_decode
	mov	x20, x0
	tbz	w0, #31, LBB0_9
; %bb.8:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_9:
Lloh10:
	adrp	x8, _LOG_PRIMASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOG_PRIMASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w8, w8, w20
Lloh13:
	adrp	x9, _LOG_FACMASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _LOG_FACMASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w9, w9, w21
	orr	w0, w9, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_facilitynames,4,2              ; @facilitynames
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown facility name: %s"

	.comm	_prioritynames,4,2              ; @prioritynames
l_.str.1:                               ; @.str.1
	.asciz	"unknown priority name: %s"

	.comm	_LOG_PRIMASK,4,2                ; @LOG_PRIMASK
	.comm	_LOG_FACMASK,4,2                ; @LOG_FACMASK
	.no_dead_strip	_pencode
.subsections_via_symbols
