	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_if
_get_if:                                ## @get_if
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DVB_NET_DEVICES_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.4:
	movq	(%rdi), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_5
## %bb.7:
	movl	$-1, %eax
	jmp	LBB0_8
LBB0_1:
	xorl	%ecx, %ecx
LBB0_2:
	movl	$-1, %eax
	cmpl	%edx, %ecx
	jne	LBB0_3
LBB0_8:
	popq	%rbp
	retq
LBB0_3:
	movq	(%rdi), %rax
	movl	%ecx, %edx
	movl	$1, (%rax,%rdx,4)
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DVB_NET_DEVICES_MAX,4,2        ## @DVB_NET_DEVICES_MAX
	.no_dead_strip	_get_if
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_if
_get_if:                                ; @get_if
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _DVB_NET_DEVICES_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DVB_NET_DEVICES_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x0, #0
	ldr	x10, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x0, lsl #2]
	cbz	w11, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	cmp	x9, x0
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	cmp	w0, w9
	b.ne	LBB0_7
LBB0_6:
	mov	w0, #-1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_7:
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8, w0, uxtw #2]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DVB_NET_DEVICES_MAX,4,2        ; @DVB_NET_DEVICES_MAX
	.no_dead_strip	_get_if
.subsections_via_symbols
