	.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, %r14
	movl	%edi, %r12d
	leaq	-56(%rbp), %rdi
	callq	_yp_get_default_domain
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_bzero
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_INADDR_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movl	%eax, -48(%rbp)
	leaq	L_.str(%rip), %r15
	movq	_optarg@GOTPCREL(%rip), %rbx
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	movq	%r15, %r13
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_bcopy
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$100, %eax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$104, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdi
	movq	%r13, %rsi
	callq	_inet_aton
	testl	%eax, %eax
	jne	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %r15
	movq	(%rbx), %rdi
	callq	_gethostbyname
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdx
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_errx
	jmp	LBB0_9
LBB0_10:
	movq	_optind@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	leal	1(%rax), %ecx
	cmpl	%r12d, %ecx
	je	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_usage
	movl	(%r15), %eax
LBB0_12:
	movq	-56(%rbp), %rsi
	cltq
	movq	(%r14,%rax,8), %rdx
	leaq	-48(%rbp), %rdi
	callq	_bind_tohost
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:
	xorl	%edi, %edi
	callq	_exit
LBB0_13:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_INADDR_LOOPBACK,4,2            ## @INADDR_LOOPBACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"h:d:"

	.comm	_optarg,8,3                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"host %s unknown\n"

	.comm	_optind,4,2                     ## @optind
.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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, sp
	bl	_yp_get_default_domain
	add	x0, sp, #8
	mov	w1, #8
	bl	_bzero
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _INADDR_LOOPBACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INADDR_LOOPBACK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htonl
	str	w0, [sp, #8]
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
Lloh8:
	adrp	x24, _optarg@GOTPAGE
Lloh9:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str.1@PAGE
Lloh11:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x23]
	add	x1, sp, #8
	mov	w2, #4
	bl	_bcopy
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #100
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #104
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
	str	x8, [sp]
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x24]
	add	x1, sp, #8
	bl	_inet_aton
	cbnz	w0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x24]
	bl	_gethostbyname
	mov	x23, x0
	cbnz	x0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x2, [x24]
	mov	w0, #1
	mov	x1, x22
	bl	_errx
	b	LBB0_1
LBB0_10:
Lloh12:
	adrp	x21, _optind@GOTPAGE
Lloh13:
	ldr	x21, [x21, _optind@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w9, w8, #1
	cmp	w9, w20
	b.eq	LBB0_12
; %bb.11:
	bl	_usage
	ldr	w8, [x21]
LBB0_12:
	ldr	x1, [sp]
	ldr	x2, [x19, w8, sxtw #3]
	add	x0, sp, #8
	bl	_bind_tohost
	cbz	x0, LBB0_14
; %bb.13:
	mov	w0, #1
LBB0_14:
	bl	_exit
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_INADDR_LOOPBACK,4,2            ; @INADDR_LOOPBACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"h:d:"

	.comm	_optarg,8,3                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"host %s unknown\n"

	.comm	_optind,4,2                     ; @optind
.subsections_via_symbols
