	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdn_net_init
_isdn_net_init:                         ## @isdn_net_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ISDN_MAX_DRIVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	cmpl	$1, %r8d
	jne	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	xorl	%eax, %eax
LBB0_10:
	testb	$1, %r8b
	je	LBB0_13
## %bb.11:
	movq	(%rdx,%rsi,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	cmovleq	%rcx, %rax
	jmp	LBB0_13
LBB0_1:
	xorl	%eax, %eax
LBB0_13:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rsi
	cmpq	%rsi, %r9
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	cmovleq	%rcx, %rax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdx,%rsi,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	cmovleq	%rcx, %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ISDN_MAX_DRIVERS,4,2           ## @ISDN_MAX_DRIVERS
	.comm	_dev,8,3                        ## @dev
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.no_dead_strip	_isdn_net_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdn_net_init
_isdn_net_init:                         ; @isdn_net_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ISDN_MAX_DRIVERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISDN_MAX_DRIVERS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, #0
Lloh3:
	adrp	x10, _dev@GOTPAGE
Lloh4:
	ldr	x10, [x10, _dev@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x10, [x10]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x11]
	ldr	x11, [x11]
	cmp	x8, x11
	csel	x8, x8, x11, gt
	b	LBB0_2
LBB0_5:
	mov	x8, #0
LBB0_6:
Lloh6:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x0]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ISDN_MAX_DRIVERS,4,2           ; @ISDN_MAX_DRIVERS
	.comm	_dev,8,3                        ; @dev
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.no_dead_strip	_isdn_net_init
.subsections_via_symbols
