	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_targetinfo
_test_targetinfo:                       ## @test_targetinfo
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	L_.str(%rip), %rdi
	callq	_rk_UNCONST
	movq	%rax, -24(%rbp)
	movl	$1, -32(%rbp)
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_heim_ntlm_encode_targetinfo
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-16(%rbp), %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	callq	_heim_ntlm_decode_targetinfo
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	-24(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_5:
	cmpl	$1, -32(%rbp)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_7:
	leaq	-32(%rbp), %rdi
	callq	_heim_ntlm_free_targetinfo
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dnsservername"

L_.str.1:                               ## @.str.1
	.asciz	"ti.dnshostname != %s"

L_.str.2:                               ## @.str.2
	.asciz	"ti.avflags != 1"

	.no_dead_strip	_test_targetinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_targetinfo
_test_targetinfo:                       ; @test_targetinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_rk_UNCONST
	str	x0, [sp, #24]
	mov	w8, #1
	str	w8, [sp, #16]
	add	x0, sp, #16
	add	x2, sp, #8
	mov	w1, #1
	bl	_heim_ntlm_encode_targetinfo
	cbnz	w0, LBB0_8
; %bb.1:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x0, sp, #8
	add	x2, sp, #16
	mov	w1, #1
	bl	_heim_ntlm_decode_targetinfo
	cbnz	w0, LBB0_8
; %bb.2:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
LBB0_4:
	str	x19, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_5:
	ldr	w8, [sp, #16]
	cmp	w8, #1
	b.eq	LBB0_7
; %bb.6:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_7:
	add	x0, sp, #16
	bl	_heim_ntlm_free_targetinfo
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dnsservername"

l_.str.1:                               ; @.str.1
	.asciz	"ti.dnshostname != %s"

l_.str.2:                               ; @.str.2
	.asciz	"ti.avflags != 1"

	.no_dead_strip	_test_targetinfo
.subsections_via_symbols
