	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipwireless_associate_network_tty ## -- Begin function ipwireless_associate_network_tty
	.p2align	4, 0x90
_ipwireless_associate_network_tty:      ## @ipwireless_associate_network_tty
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX_ASSOCIATED_TTYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movq	(%rdi), %rcx
	movl	%esi, %esi
	movq	(%rcx,%rsi,8), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rsi,8)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movq	%rdx, (%rcx,%rsi,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ASSOCIATED_TTYS,4,2        ## @MAX_ASSOCIATED_TTYS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipwireless_associate_network_tty ; -- Begin function ipwireless_associate_network_tty
	.p2align	2
_ipwireless_associate_network_tty:      ; @ipwireless_associate_network_tty
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX_ASSOCIATED_TTYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_ASSOCIATED_TTYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x9, [x0]
	ldr	x9, [x9, w1, uxtw #3]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	ret
LBB0_5:
	str	x2, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ASSOCIATED_TTYS,4,2        ; @MAX_ASSOCIATED_TTYS
.subsections_via_symbols
