	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_put_host_port                  ## -- Begin function put_host_port
	.p2align	4, 0x90
_put_host_port:                         ## @put_host_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, %rdx
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rcx
	movq	_SSH_DEFAULT_PORT@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rsi
	leaq	-8(%rbp), %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_asprintf
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_fatal
LBB0_4:
	movq	-8(%rbp), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_debug3
	movq	-8(%rbp), %rax
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_5:
	movq	%rdx, %rdi
	addq	$16, %rsp
	popq	%rbp
	jmp	_xstrdup                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH_DEFAULT_PORT,8,3           ## @SSH_DEFAULT_PORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%s]:%d"

L_.str.1:                               ## @.str.1
	.asciz	"put_host_port: asprintf: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"put_host_port: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_put_host_port                  ; -- Begin function put_host_port
	.p2align	2
_put_host_port:                         ; @put_host_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x0
	cbz	x1, LBB0_5
; %bb.1:
	mov	x3, x1
Lloh0:
	adrp	x8, _SSH_DEFAULT_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSH_DEFAULT_PORT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_5
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_asprintf
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_4:
	ldr	x1, [sp, #8]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debug3
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_5:
	mov	x0, x2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_xstrdup
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH_DEFAULT_PORT,8,3           ; @SSH_DEFAULT_PORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%s]:%d"

l_.str.1:                               ; @.str.1
	.asciz	"put_host_port: asprintf: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"put_host_port: %s"

.subsections_via_symbols
