	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostmode
_hostmode:                              ## @hostmode
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-68(%rbp), %rsi
	callq	_bt_aton
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.1:
	movq	_AF_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-68(%rbp), %rdi
	movl	$4, %esi
	callq	_bt_gethostbyaddr
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:
	movq	%rax, %r15
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.8:
	movq	(%r15), %rax
	jmp	LBB0_9
LBB0_3:
	movq	%rbx, %rdi
	callq	_bt_gethostbyname
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	8(%rax), %rdi
	leaq	-64(%rbp), %rsi
	callq	_bt_ntoa
	testl	%r14d, %r14d
	je	LBB0_6
LBB0_9:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_12
LBB0_2:
	leaq	-68(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_bt_ntoa
	movq	%rax, %rbx
LBB0_4:
	movq	%rbx, %rdi
	callq	_herror
	movl	$1, %r14d
	jmp	LBB0_12
LBB0_10:
	leaq	-68(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_bt_ntoa
	movq	%rax, %rbx
	movq	(%r15), %rax
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str.3(%rip), %rdx
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%rbx, %rsi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_printf
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_BLUETOOTH,4,2               ## @AF_BLUETOOTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"Host %s has %s %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"name"

L_.str.3:                               ## @.str.3
	.asciz	"address"

	.no_dead_strip	_hostmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostmode
_hostmode:                              ; @hostmode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, 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, #-40]
	add	x1, sp, #20
	bl	_bt_aton
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _AF_BLUETOOTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_BLUETOOTH@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #20
	mov	w1, #4
	bl	_bt_gethostbyaddr
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	cbz	w20, LBB0_9
; %bb.3:
	ldr	x1, [x21]
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_bt_gethostbyname
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x0, [x0, #8]
	add	x1, sp, #24
	bl	_bt_ntoa
	mov	x1, x0
	cbz	w20, LBB0_10
LBB0_6:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_12
LBB0_7:
	add	x0, sp, #20
	add	x1, sp, #24
	bl	_bt_ntoa
	mov	x19, x0
LBB0_8:
	mov	x0, x19
	bl	_herror
	mov	w0, #1
	b	LBB0_13
LBB0_9:
	add	x0, sp, #20
	add	x1, sp, #24
	bl	_bt_ntoa
	mov	x19, x0
	ldr	x1, [x21]
Lloh8:
	adrp	x8, l_.str.2@PAGE
Lloh9:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh10:
	adrp	x8, l_.str.3@PAGE
Lloh11:
	add	x8, x8, l_.str.3@PAGEOFF
LBB0_11:
	stp	x8, x1, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
LBB0_12:
	bl	_printf
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	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
	add	sp, sp, #112
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_BLUETOOTH,4,2               ; @AF_BLUETOOTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"Host %s has %s %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"name"

l_.str.3:                               ; @.str.3
	.asciz	"address"

	.no_dead_strip	_hostmode
.subsections_via_symbols
