	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function affixdir
_affixdir:                              ## @affixdir
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, -24(%rbp)
	callq	_strlen
	movq	_FILENAME_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_auditd_hostlen@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	(%r14), %edx
	jle	LBB0_4
## %bb.3:
	movq	_auditd_host@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_asprintf
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_asprintf
LBB0_5:
	movq	-24(%rbp), %rax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILENAME_LEN,8,3               ## @FILENAME_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_auditd_hostlen,8,3             ## @auditd_hostlen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s.%s"

	.comm	_auditd_host,4,2                ## @auditd_host
L_.str.1:                               ## @.str.1
	.asciz	"%s/%s"

	.no_dead_strip	_affixdir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function affixdir
_affixdir:                              ; @affixdir
	.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
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	bl	_strlen
Lloh0:
	adrp	x8, _FILENAME_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILENAME_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _auditd_hostlen@GOTPAGE
Lloh4:
	ldr	x8, [x8, _auditd_hostlen@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w2, [x20]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _auditd_host@GOTPAGE
Lloh7:
	ldr	x8, [x8, _auditd_host@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
	mov	x0, #0
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _errno@GOTPAGE
Lloh15:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh16:
	str	w8, [x9]
	b	LBB0_6
LBB0_4:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	add	x0, sp, #8
	mov	x3, x19
	bl	_asprintf
	ldr	x0, [sp, #8]
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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_FILENAME_LEN,8,3               ; @FILENAME_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_auditd_hostlen,8,3             ; @auditd_hostlen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s.%s"

	.comm	_auditd_host,4,2                ; @auditd_host
l_.str.1:                               ; @.str.1
	.asciz	"%s/%s"

	.no_dead_strip	_affixdir
.subsections_via_symbols
