	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_HandleKodDemobilize       ## -- Begin function test_HandleKodDemobilize
	.p2align	4, 0x90
_test_HandleKodDemobilize:              ## @test_HandleKodDemobilize
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_KOD_DEMOBILIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-56(%rbp), %rbx
	callq	_ZERO
	leaq	L_.str.1(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	callq	_ZERO
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_inet_addr
	movl	%eax, -48(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_kod_init_kod_db
	leaq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	%r15d, %edi
	movq	%rbx, %rcx
	callq	_handle_pkt
	movl	$1, %edi
	movl	%eax, %esi
	callq	_TEST_ASSERT_EQUAL
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_search_entry
	movl	$1, %edi
	movl	%eax, %esi
	callq	_TEST_ASSERT_EQUAL
	movq	-32(%rbp), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_TEST_ASSERT_EQUAL_MEMORY
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"192.0.2.1"

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

	.comm	_KOD_DEMOBILIZE,4,2             ## @KOD_DEMOBILIZE
	.comm	_AF_INET,4,2                    ## @AF_INET
L_.str.2:                               ## @.str.2
	.asciz	"/dev/null"

	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_HandleKodDemobilize       ; -- Begin function test_HandleKodDemobilize
	.p2align	2
_test_HandleKodDemobilize:              ; @test_HandleKodDemobilize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x8, _KOD_DEMOBILIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KOD_DEMOBILIZE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	add	x8, sp, #32
	add	x21, x8, #8
	mov	x1, #0
	bl	_ZERO
Lloh3:
	adrp	x19, l_.str.1@PAGE
Lloh4:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	mov	x1, #0
	bl	_ZERO
Lloh5:
	adrp	x8, _AF_INET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #20]
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	bl	_inet_addr
	str	w0, [sp, #16]
Lloh10:
	adrp	x8, _TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_kod_init_kod_db
	add	x1, sp, #32
	add	x2, sp, #16
	mov	x0, x20
	mov	x3, x21
	bl	_handle_pkt
	mov	x1, x0
	mov	w0, #1
	bl	_TEST_ASSERT_EQUAL
	add	x1, sp, #8
	mov	x0, x21
	bl	_search_entry
	mov	x1, x0
	mov	w0, #1
	bl	_TEST_ASSERT_EQUAL
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_TEST_ASSERT_EQUAL_MEMORY
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"192.0.2.1"

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

	.comm	_KOD_DEMOBILIZE,4,2             ; @KOD_DEMOBILIZE
	.comm	_AF_INET,4,2                    ; @AF_INET
l_.str.2:                               ; @.str.2
	.asciz	"/dev/null"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
