	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doit
_doit:                                  ## @doit
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, -228(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_context@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-264(%rbp), %rsi
	callq	_krb5_get_default_realms
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rcx
	movl	$1, %esi
	movl	%eax, %edx
	callq	_krb5_err
LBB0_2:
	movq	_explicit_addresses@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	%ebx, -192(%rbp)                ## 4-byte Spill
	je	LBB0_4
## %bb.3:
	movups	(%rax), %xmm0
	movaps	%xmm0, -256(%rbp)
	jmp	LBB0_6
LBB0_4:
	movl	(%r15), %edi
	leaq	-256(%rbp), %rsi
	callq	_krb5_get_all_server_addrs
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %esi
	movl	%eax, %edx
	callq	_krb5_err
LBB0_6:
	movl	-256(%rbp), %r14d
	leal	(,%r14,4), %edi
	callq	_malloc
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	$1, %esi
	callq	_krb5_errx
LBB0_8:
	leaq	-200(%rbp), %rdi
	callq	_FD_ZERO
	testq	%r14, %r14
	movq	%r14, -208(%rbp)                ## 8-byte Spill
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_21
## %bb.9:
	leaq	(,%r14,4), %r15
	movl	$-1, -180(%rbp)                 ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	leaq	-184(%rbp), %r13
	movl	-192(%rbp), %r14d               ## 4-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	(%rbx,%r12), %edi
	leaq	-200(%rbp), %rsi
	callq	_FD_SET
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=1
	addq	$4, %r12
	cmpq	%r12, %r15
	je	LBB0_20
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	$4, -196(%rbp)
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-248(%rbp), %rsi
	addq	%r12, %rsi
	movq	%r13, %rdx
	leaq	-196(%rbp), %rcx
	movl	%r14d, %r8d
	callq	_krb5_addr2sockaddr
	movl	-184(%rbp), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, (%rbx,%r12)
	testl	%eax, %eax
	jns	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	leaq	L_.str.3(%rip), %rcx
	callq	_krb5_err
	movl	(%rbx,%r12), %eax
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	-196(%rbp), %edx
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_bind
	testq	%rax, %rax
	js	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%rbx,%r12), %esi
	movl	-180(%rbp), %edi                ## 4-byte Reload
	callq	_max
	movl	%eax, -180(%rbp)                ## 4-byte Spill
	movq	_FD_SETSIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	leaq	L_.str.6(%rip), %rdx
	callq	_krb5_errx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %r13
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-248(%rbp), %rdi
	addq	%r12, %rdi
	leaq	-176(%rbp), %r15
	movq	%r15, %rsi
	movl	$128, %edx
	leaq	-224(%rbp), %rcx
	callq	_krb5_print_address
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$128, %edx
	callq	_strlcpy
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rcx
	callq	_krb5_warn
	movl	-192(%rbp), %r14d               ## 4-byte Reload
	movq	%r13, %r15
	leaq	-184(%rbp), %r13
	jmp	LBB0_19
LBB0_20:
	cmpl	$-1, -180(%rbp)                 ## 4-byte Folded Reload
	movq	-208(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_22
LBB0_21:
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rdx
	movl	$1, %esi
	callq	_krb5_errx
	movl	$-1, -180(%rbp)                 ## 4-byte Folded Spill
LBB0_22:
	movq	_exit_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
LBB0_35:
	testq	%r14, %r14
	movq	%rbx, %r15
	je	LBB0_38
## %bb.36:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_close
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_37
LBB0_38:
	movq	%r15, %rdi
	callq	_free
	movq	_context@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-256(%rbp), %rsi
	callq	_krb5_free_addresses
	movl	(%rbx), %edi
	movq	-264(%rbp), %rsi
	callq	_krb5_free_host_realm
	movl	(%rbx), %edi
	callq	_krb5_free_context
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_39
## %bb.42:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	incl	-180(%rbp)                      ## 4-byte Folded Spill
	leaq	(,%r14,4), %rax
	movq	%rax, -272(%rbp)                ## 8-byte Spill
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_exit_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-208(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_35
LBB0_24:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	movl	-200(%rbp), %eax
	movl	%eax, -176(%rbp)
	movl	-180(%rbp), %edi                ## 4-byte Reload
	leaq	-176(%rbp), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_select
	testq	%rax, %rax
	js	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	testq	%r14, %r14
	je	LBB0_41
LBB0_28:                                ##   in Loop: Header=BB0_24 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	leaq	L_.str.9(%rip), %rcx
	callq	_krb5_err
	movq	-216(%rbp), %r12                ## 8-byte Reload
	leaq	-184(%rbp), %rbx
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	-264(%rbp), %rdi
	movl	(%r12,%r13), %edx
	movq	-248(%rbp), %rcx
	addq	%r13, %rcx
	movl	-224(%rbp), %r9d
	movl	-228(%rbp), %esi                ## 4-byte Reload
	movq	%rbx, %r8
	pushq	%r15
	pushq	%r14
	callq	_process
	addq	$16, %rsp
	movq	-192(%rbp), %rsp                ## 8-byte Reload
	movq	%r12, %rbx
LBB0_34:                                ##   in Loop: Header=BB0_29 Depth=2
	addq	$4, %r13
	cmpq	%r13, -272(%rbp)                ## 8-byte Folded Reload
	je	LBB0_41
LBB0_29:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%r13), %edi
	leaq	-176(%rbp), %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%rsp, -192(%rbp)                ## 8-byte Spill
	movq	%rbx, %r12
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	$4, -224(%rbp)
	movl	(%r12,%r13), %edi
	leal	(,%rbx,4), %edx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	leaq	-184(%rbp), %rbx
	movq	%rbx, %r8
	leaq	-224(%rbp), %r9
	callq	_recvfrom
	movq	%rax, %r15
	testq	%rax, %rax
	jns	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EINTR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_32
## %bb.40:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	%rcx, %rsp
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EINTR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	je	LBB0_41
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	leaq	L_.str.8(%rip), %rcx
	callq	_krb5_err
	movq	-208(%rbp), %r14                ## 8-byte Reload
	testq	%r14, %r14
	jne	LBB0_28
	jmp	LBB0_41
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_context,4,2                    ## @context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_get_default_realms"

	.comm	_explicit_addresses,16,3        ## @explicit_addresses
L_.str.1:                               ## @.str.1
	.asciz	"krb5_get_all_server_addrs"

L_.str.2:                               ## @.str.2
	.asciz	"out of memory"

	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"socket"

L_.str.4:                               ## @.str.4
	.asciz	"unknown address"

L_.str.5:                               ## @.str.5
	.asciz	"bind(%s)"

	.comm	_FD_SETSIZE,4,2                 ## @FD_SETSIZE
L_.str.6:                               ## @.str.6
	.asciz	"fd too large"

L_.str.7:                               ## @.str.7
	.asciz	"No sockets!"

	.comm	_exit_flag,8,3                  ## @exit_flag
	.comm	_EINTR,4,2                      ## @EINTR
L_.str.8:                               ## @.str.8
	.asciz	"select"

	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
L_.str.9:                               ## @.str.9
	.asciz	"recvfrom"

	.no_dead_strip	_doit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doit
_doit:                                  ; @doit
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #208
	mov	x25, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x28, _context@GOTPAGE
Lloh4:
	ldr	x28, [x28, _context@GOTPAGEOFF]
	ldr	w0, [x28]
	sub	x1, x29, #232
	bl	_krb5_get_default_realms
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	w0, [x28]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_2:
Lloh7:
	adrp	x8, _explicit_addresses@GOTPAGE
Lloh8:
	ldr	x8, [x8, _explicit_addresses@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_4
; %bb.3:
	ldr	q0, [x8]
	stur	q0, [x29, #-256]
	b	LBB0_6
LBB0_4:
	ldr	w0, [x28]
	sub	x1, x29, #256
	bl	_krb5_get_all_server_addrs
	cbz	w0, LBB0_6
; %bb.5:
	mov	x2, x0
	ldr	w0, [x28]
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_6:
	ldur	w26, [x29, #-256]
	lsl	w0, w26, #2
	bl	_malloc
	mov	x20, x0
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x28]
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
LBB0_8:
	sub	x0, x29, #260
	bl	_FD_ZERO
	cbz	w26, LBB0_21
; %bb.9:
	mov	x23, #0
	lsl	x24, x26, #2
	mov	w22, #-1
	mov	w27, #4
Lloh13:
	adrp	x21, _FD_SETSIZE@GOTPAGE
Lloh14:
	ldr	x21, [x21, _FD_SETSIZE@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x20, x23]
	sub	x1, x29, #260
	bl	_FD_SET
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #4
	cmp	x24, x23
	b.eq	LBB0_20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub	x8, x29, #12
	stur	w27, [x8, #-256]
	ldr	w0, [x28]
	ldur	x8, [x29, #-248]
	add	x1, x8, x23
	sub	x2, x29, #264
	sub	x3, x29, #268
	mov	x4, x25
	bl	_krb5_addr2sockaddr
	sub	x8, x29, #8
	ldur	w0, [x8, #-256]
Lloh15:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	str	w0, [x20, x23]
	tbz	w0, #31, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x28]
Lloh18:
	adrp	x8, _errno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	w1, #1
Lloh21:
	adrp	x3, l_.str.3@PAGE
Lloh22:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_krb5_err
	ldr	w0, [x20, x23]
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	x8, x29, #12
	ldur	w2, [x8, #-256]
	sub	x1, x29, #264
	bl	_bind
	tbnz	x0, #63, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x20, x23]
	mov	x0, x22
	bl	_max
	mov	x22, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.lt	LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x28]
	mov	w1, #1
Lloh23:
	adrp	x2, l_.str.6@PAGE
Lloh24:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_krb5_errx
	b	LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	w27, [x8]
	ldur	x8, [x29, #-248]
	add	x0, x8, x23
	sub	x1, x29, #224
	sub	x3, x29, #280
	mov	w2, #128
	bl	_krb5_print_address
	cbz	w0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	sub	x0, x29, #224
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #128
	bl	_strlcpy
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x28]
	sub	x3, x29, #224
	mov	x1, x27
Lloh30:
	adrp	x2, l_.str.5@PAGE
Lloh31:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_krb5_warn
	mov	w27, #4
	b	LBB0_11
LBB0_20:
	cmn	w22, #1
	b.ne	LBB0_22
LBB0_21:
	ldr	w0, [x28]
Lloh32:
	adrp	x2, l_.str.7@PAGE
Lloh33:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
	mov	w22, #-1
LBB0_22:
Lloh34:
	adrp	x8, _exit_flag@GOTPAGE
Lloh35:
	ldr	x8, [x8, _exit_flag@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cbz	x8, LBB0_28
LBB0_23:
	cbz	w26, LBB0_26
; %bb.24:
	mov	x19, x20
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19], #4
	bl	_close
	subs	x26, x26, #1
	b.ne	LBB0_25
LBB0_26:
	mov	x0, x20
	bl	_free
Lloh37:
	adrp	x19, _context@GOTPAGE
Lloh38:
	ldr	x19, [x19, _context@GOTPAGEOFF]
	ldr	w0, [x19]
	sub	x1, x29, #256
	bl	_krb5_free_addresses
	ldr	w0, [x19]
	ldur	x1, [x29, #-232]
	bl	_krb5_free_host_realm
	ldr	w0, [x19]
	bl	_krb5_free_context
	ldur	x8, [x29, #-96]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_42
; %bb.27:
	mov	w0, #0
	sub	sp, x29, #80
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_28:
	add	w8, w22, #1
	sub	x9, x29, #28
	stur	w8, [x9, #-256]                 ; 4-byte Folded Spill
	lsl	x27, x26, #2
Lloh42:
	adrp	x21, _BUFSIZ@GOTPAGE
Lloh43:
	ldr	x21, [x21, _BUFSIZ@GOTPAGEOFF]
	mov	w28, #4
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
Lloh44:
	adrp	x8, _exit_flag@GOTPAGE
Lloh45:
	ldr	x8, [x8, _exit_flag@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	cbnz	x8, LBB0_23
LBB0_30:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_36 Depth 2
	sub	x8, x29, #4
	ldur	w8, [x8, #-256]
	stur	w8, [x29, #-224]
	sub	x1, x29, #224
	sub	x8, x29, #28
	ldur	w0, [x8, #-256]                 ; 4-byte Folded Reload
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_select
	tbnz	x0, #63, LBB0_40
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	cbz	w26, LBB0_29
LBB0_32:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x23, #0
	b	LBB0_36
LBB0_33:                                ;   in Loop: Header=BB0_36 Depth=2
Lloh47:
	adrp	x8, _context@GOTPAGE
Lloh48:
	ldr	x8, [x8, _context@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	mov	w1, #1
Lloh50:
	adrp	x3, l_.str.9@PAGE
Lloh51:
	add	x3, x3, l_.str.9@PAGEOFF
	bl	_krb5_err
LBB0_34:                                ;   in Loop: Header=BB0_36 Depth=2
	ldur	x0, [x29, #-232]
	ldr	w2, [x20, x23]
	ldur	x8, [x29, #-248]
	add	x3, x8, x23
	sub	x8, x29, #24
	ldur	w5, [x8, #-256]
	sub	x4, x29, #264
	mov	x1, x19
	mov	x6, x24
	mov	x7, x25
	bl	_process
	mov	sp, x22
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=2
	add	x23, x23, #4
	cmp	x27, x23
	b.eq	LBB0_29
LBB0_36:                                ;   Parent Loop BB0_30 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x20, x23]
	sub	x1, x29, #224
	bl	_FD_ISSET
	cbz	x0, LBB0_35
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=2
	mov	x22, sp
	ldr	w12, [x21]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh52:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh53:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	sub	x8, x29, #24
	stur	w28, [x8, #-256]
	ldr	w0, [x20, x23]
	lsl	w2, w12, #2
	sub	x4, x29, #264
	sub	x5, x29, #280
	mov	x1, x24
	mov	w3, #0
	bl	_recvfrom
	mov	x25, x0
	tbz	x0, #63, LBB0_34
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=2
Lloh54:
	adrp	x8, _errno@GOTPAGE
Lloh55:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
Lloh57:
	adrp	x8, _EINTR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_33
; %bb.39:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	sp, x22
	b	LBB0_29
LBB0_40:                                ;   in Loop: Header=BB0_30 Depth=1
Lloh60:
	adrp	x8, _errno@GOTPAGE
Lloh61:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
Lloh63:
	adrp	x8, _EINTR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	cmp	w2, w8
	b.eq	LBB0_29
; %bb.41:                               ;   in Loop: Header=BB0_30 Depth=1
Lloh66:
	adrp	x8, _context@GOTPAGE
Lloh67:
	ldr	x8, [x8, _context@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	mov	w1, #1
Lloh69:
	adrp	x3, l_.str.8@PAGE
Lloh70:
	add	x3, x3, l_.str.8@PAGEOFF
	bl	_krb5_err
	cbnz	w26, LBB0_32
	b	LBB0_29
LBB0_42:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_context,4,2                    ; @context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_get_default_realms"

	.comm	_explicit_addresses,16,3        ; @explicit_addresses
l_.str.1:                               ; @.str.1
	.asciz	"krb5_get_all_server_addrs"

l_.str.2:                               ; @.str.2
	.asciz	"out of memory"

	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"socket"

l_.str.4:                               ; @.str.4
	.asciz	"unknown address"

l_.str.5:                               ; @.str.5
	.asciz	"bind(%s)"

	.comm	_FD_SETSIZE,4,2                 ; @FD_SETSIZE
l_.str.6:                               ; @.str.6
	.asciz	"fd too large"

l_.str.7:                               ; @.str.7
	.asciz	"No sockets!"

	.comm	_exit_flag,8,3                  ; @exit_flag
	.comm	_EINTR,4,2                      ; @EINTR
l_.str.8:                               ; @.str.8
	.asciz	"select"

	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
l_.str.9:                               ; @.str.9
	.asciz	"recvfrom"

	.no_dead_strip	_doit
.subsections_via_symbols
