	.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, %r15d
	movq	_SDP_LOCAL_PATH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	L_.str(%rip), %rbx
	movq	_optarg@GOTPCREL(%rip), %r12
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_5
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_getopt
	cmpl	$98, %eax
	jg	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$97, %eax
	jne	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	movq	%r13, %rsi
	callq	_bt_aton
	testl	%eax, %eax
	jne	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r15
	movq	(%r12), %rdi
	callq	_bt_gethostbyname
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %r13
	movq	_h_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_hstrerror
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	leaq	-48(%rbp), %r13
	movl	%eax, %ecx
	callq	_errx
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %r12
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$99, %eax
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$108, %eax
	jne	LBB0_10
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_5:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	(%r14,%r12,8), %rbx
	cmpq	$0, (%r14,%r12,8)
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_usage
LBB0_7:
	subl	%r12d, %r15d
	leaq	-48(%rbp), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movq	%rbx, %r8
	callq	_do_sdp_command
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDP_LOCAL_PATH,8,3             ## @SDP_LOCAL_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a:c:lh"

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

	.comm	_h_errno,4,2                    ## @h_errno
	.comm	_optind,8,3                     ## @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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SDP_LOCAL_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDP_LOCAL_PATH@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	add	x0, sp, #12
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w21, #0
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
Lloh5:
	adrp	x27, _optarg@GOTPAGE
Lloh6:
	ldr	x27, [x27, _optarg@GOTPAGEOFF]
Lloh7:
	adrp	x28, _h_errno@GOTPAGE
Lloh8:
	ldr	x28, [x28, _h_errno@GOTPAGEOFF]
Lloh9:
	adrp	x24, l_.str.1@PAGE
Lloh10:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_13
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_getopt
	cmp	w0, #98
	b.gt	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #97
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x27]
	add	x1, sp, #12
	bl	_bt_aton
	cbnz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x27]
	bl	_bt_gethostbyname
	mov	x25, x0
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x26, [x27]
	ldr	w0, [x28]
	bl	_hstrerror
	mov	x3, x0
	mov	w0, #1
	mov	x1, x24
	mov	x2, x26
	bl	_errx
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	add	x0, sp, #12
	mov	w2, #4
	bl	_memcpy
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #99
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #108
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #1
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x27]
	b	LBB0_3
LBB0_13:
Lloh11:
	adrp	x8, _optind@GOTPAGE
Lloh12:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh13:
	ldr	x23, [x8]
	add	x22, x22, x23, lsl #3
	ldr	x8, [x22]
	cbnz	x8, LBB0_15
; %bb.14:
	bl	_usage
LBB0_15:
	sub	w3, w20, w23
	add	x0, sp, #12
	mov	x1, x19
	mov	x2, x21
	mov	x4, x22
	bl	_do_sdp_command
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SDP_LOCAL_PATH,8,3             ; @SDP_LOCAL_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a:c:lh"

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

	.comm	_h_errno,4,2                    ; @h_errno
	.comm	_optind,8,3                     ; @optind
.subsections_via_symbols
