	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_WriteFileWithMultipleEntries ## -- Begin function test_WriteFileWithMultipleEntries
	.p2align	4, 0x90
_test_WriteFileWithMultipleEntries:     ## @test_WriteFileWithMultipleEntries
	.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
	leaq	L_.str(%rip), %rdi
	callq	_estrdup
	movq	_kod_db_file@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_add_entry
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_add_entry
	leaq	L_.str.5(%rip), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_add_entry
	movq	_kod_db@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movl	$43981, (%rcx)                  ## imm = 0xABCD
	movq	8(%rax), %rcx
	movl	$43981, (%rcx)                  ## imm = 0xABCD
	movq	16(%rax), %rax
	movl	$43981, (%rax)                  ## imm = 0xABCD
	xorl	%eax, %eax
	callq	_write_kod_db
	movl	(%rbx), %edi
	leaq	L_.str.7(%rip), %r14
	movq	%r14, %rsi
	callq	_fopen
	movq	%rax, %r15
	movq	_INPUT_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdi
	callq	_CreatePath
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_fopen
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_TEST_ASSERT_NOT_NULL
	movq	%rbx, %rdi
	callq	_TEST_ASSERT_NOT_NULL
	movq	%rbx, %rdi
	callq	_GetFileSize
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_GetFileSize
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_TEST_ASSERT_EQUAL
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_CompareFileContent
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TEST_ASSERT_TRUE               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kod-output-multiple"

	.comm	_kod_db_file,4,2                ## @kod_db_file
L_.str.1:                               ## @.str.1
	.asciz	"example.com"

L_.str.2:                               ## @.str.2
	.asciz	"RATE"

L_.str.3:                               ## @.str.3
	.asciz	"192.0.2.1"

L_.str.4:                               ## @.str.4
	.asciz	"DENY"

L_.str.5:                               ## @.str.5
	.asciz	"192.0.2.5"

L_.str.6:                               ## @.str.6
	.asciz	"RSTR"

	.comm	_kod_db,8,3                     ## @kod_db
L_.str.7:                               ## @.str.7
	.asciz	"rb"

L_.str.8:                               ## @.str.8
	.asciz	"kod-expected-multiple"

	.comm	_INPUT_DIR,4,2                  ## @INPUT_DIR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_WriteFileWithMultipleEntries ; -- Begin function test_WriteFileWithMultipleEntries
	.p2align	2
_test_WriteFileWithMultipleEntries:     ; @test_WriteFileWithMultipleEntries
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_estrdup
Lloh2:
	adrp	x19, _kod_db_file@GOTPAGE
Lloh3:
	ldr	x19, [x19, _kod_db_file@GOTPAGEOFF]
	str	w0, [x19]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_add_entry
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_add_entry
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_add_entry
Lloh16:
	adrp	x8, _kod_db@GOTPAGE
Lloh17:
	ldr	x8, [x8, _kod_db@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	mov	w9, #43981
	ldp	x10, x11, [x8]
	str	w9, [x10]
	str	w9, [x11]
	ldr	x8, [x8, #16]
	str	w9, [x8]
	bl	_write_kod_db
	ldr	w0, [x19]
Lloh19:
	adrp	x19, l_.str.7@PAGE
Lloh20:
	add	x19, x19, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_fopen
	mov	x20, x0
Lloh21:
	adrp	x8, _INPUT_DIR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INPUT_DIR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x0, l_.str.8@PAGE
Lloh25:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_CreatePath
	mov	x1, x19
	bl	_fopen
	mov	x19, x0
	mov	x0, x20
	bl	_TEST_ASSERT_NOT_NULL
	mov	x0, x19
	bl	_TEST_ASSERT_NOT_NULL
	mov	x0, x19
	bl	_GetFileSize
	mov	x21, x0
	mov	x0, x20
	bl	_GetFileSize
	mov	x1, x0
	mov	x0, x21
	bl	_TEST_ASSERT_EQUAL
	mov	x0, x19
	mov	x1, x20
	bl	_CompareFileContent
	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
	b	_TEST_ASSERT_TRUE
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kod-output-multiple"

	.comm	_kod_db_file,4,2                ; @kod_db_file
l_.str.1:                               ; @.str.1
	.asciz	"example.com"

l_.str.2:                               ; @.str.2
	.asciz	"RATE"

l_.str.3:                               ; @.str.3
	.asciz	"192.0.2.1"

l_.str.4:                               ; @.str.4
	.asciz	"DENY"

l_.str.5:                               ; @.str.5
	.asciz	"192.0.2.5"

l_.str.6:                               ; @.str.6
	.asciz	"RSTR"

	.comm	_kod_db,8,3                     ; @kod_db
l_.str.7:                               ; @.str.7
	.asciz	"rb"

l_.str.8:                               ; @.str.8
	.asciz	"kod-expected-multiple"

	.comm	_INPUT_DIR,4,2                  ; @INPUT_DIR
.subsections_via_symbols
