	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	(%r15), %rdi
	callq	_setprogname
	leaq	-52(%rbp), %rdi
	callq	_krb5_init_context
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movl	-52(%rbp), %edi
	movq	_PLUGIN_TYPE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KRB5_PLUGIN_LOCATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_resolve@GOTPCREL(%rip), %rcx
	callq	_krb5_plugin_register
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-52(%rbp), %edi
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_4:
	movl	-52(%rbp), %edi
	movq	_KRB5_KRBHST_KDC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_krb5_krbhst_init_flags
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	-52(%rbp), %edi
	leaq	L_.str.3(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_6:
	movl	-52(%rbp), %edi
	movl	-56(%rbp), %esi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_krb5_krbhst_next_as_string
	testq	%rax, %rax
	jne	LBB0_12
## %bb.7:
	movq	%rax, %r15
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %r12
	leaq	L_.str.5(%rip), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-52(%rbp), %edi
	movl	-56(%rbp), %esi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_krb5_krbhst_next_as_string
	testq	%rax, %rax
	jne	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	-52(%rbp), %edi
	movl	$1, %esi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_krb5_errx
	jmp	LBB0_10
LBB0_11:
	testq	%r15, %r15
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_13
LBB0_12:
	movl	-52(%rbp), %edi
	leaq	L_.str.6(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_krb5_errx
LBB0_13:
	movl	-52(%rbp), %edi
	movl	-56(%rbp), %esi
	callq	_krb5_krbhst_free
	movl	-52(%rbp), %edi
	callq	_krb5_free_context
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXHOSTNAMELEN,4,2             ## @MAXHOSTNAMELEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_init_contex"

	.comm	_PLUGIN_TYPE_DATA,4,2           ## @PLUGIN_TYPE_DATA
	.comm	_KRB5_PLUGIN_LOCATE,4,2         ## @KRB5_PLUGIN_LOCATE
	.comm	_resolve,4,2                    ## @resolve
L_.str.1:                               ## @.str.1
	.asciz	"krb5_plugin_register"

L_.str.2:                               ## @.str.2
	.asciz	"NOTHERE.H5L.SE"

	.comm	_KRB5_KRBHST_KDC,4,2            ## @KRB5_KRBHST_KDC
L_.str.3:                               ## @.str.3
	.asciz	"krb5_krbhst_init_flags"

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

L_.str.5:                               ## @.str.5
	.asciz	"wrong address: %s"

L_.str.6:                               ## @.str.6
	.asciz	"failed to find host"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAXHOSTNAMELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXHOSTNAMELEN@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	ldr	x0, [x1]
	bl	_setprogname
	sub	x0, x29, #60
	bl	_krb5_init_context
	cbz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldur	w0, [x29, #-60]
Lloh10:
	adrp	x8, _PLUGIN_TYPE_DATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PLUGIN_TYPE_DATA@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _KRB5_PLUGIN_LOCATE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KRB5_PLUGIN_LOCATE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x3, _resolve@GOTPAGE
Lloh17:
	ldr	x3, [x3, _resolve@GOTPAGEOFF]
	bl	_krb5_plugin_register
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
	ldur	w0, [x29, #-60]
Lloh18:
	adrp	x3, l_.str.1@PAGE
Lloh19:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_4:
	ldur	w0, [x29, #-60]
Lloh20:
	adrp	x8, _KRB5_KRBHST_KDC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _KRB5_KRBHST_KDC@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	sub	x4, x29, #64
	mov	w3, #0
	bl	_krb5_krbhst_init_flags
	cbz	x0, LBB0_6
; %bb.5:
	mov	x2, x0
	ldur	w0, [x29, #-60]
Lloh25:
	adrp	x3, l_.str.3@PAGE
Lloh26:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_6:
	ldp	w1, w0, [x29, #-64]
	mov	x2, x20
	mov	x3, x19
	bl	_krb5_krbhst_next_as_string
	cbnz	x0, LBB0_12
; %bb.7:
	mov	x21, x0
Lloh27:
	adrp	x22, l_.str.4@PAGE
Lloh28:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh29:
	adrp	x23, l_.str.5@PAGE
Lloh30:
	add	x23, x23, l_.str.5@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldp	w1, w0, [x29, #-64]
	mov	x2, x20
	mov	x3, x19
	bl	_krb5_krbhst_next_as_string
	cbnz	x0, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldur	w0, [x29, #-60]
	str	x20, [sp, #-16]!
	mov	w1, #1
	mov	x2, x23
	bl	_krb5_errx
	add	sp, sp, #16
	b	LBB0_8
LBB0_11:
	cbz	x21, LBB0_13
LBB0_12:
	ldur	w0, [x29, #-60]
Lloh31:
	adrp	x2, l_.str.6@PAGE
Lloh32:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
LBB0_13:
	ldp	w1, w0, [x29, #-64]
	bl	_krb5_krbhst_free
	ldur	w0, [x29, #-60]
	bl	_krb5_free_context
	mov	sp, x24
	ldur	x8, [x29, #-56]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	w0, #0
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXHOSTNAMELEN,4,2             ; @MAXHOSTNAMELEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_init_contex"

	.comm	_PLUGIN_TYPE_DATA,4,2           ; @PLUGIN_TYPE_DATA
	.comm	_KRB5_PLUGIN_LOCATE,4,2         ; @KRB5_PLUGIN_LOCATE
	.comm	_resolve,4,2                    ; @resolve
l_.str.1:                               ; @.str.1
	.asciz	"krb5_plugin_register"

l_.str.2:                               ; @.str.2
	.asciz	"NOTHERE.H5L.SE"

	.comm	_KRB5_KRBHST_KDC,4,2            ; @KRB5_KRBHST_KDC
l_.str.3:                               ; @.str.3
	.asciz	"krb5_krbhst_init_flags"

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

l_.str.5:                               ; @.str.5
	.asciz	"wrong address: %s"

l_.str.6:                               ; @.str.6
	.asciz	"failed to find host"

.subsections_via_symbols
