	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_dev_get                    ## -- Begin function x25_dev_get
	.p2align	4, 0x90
_x25_dev_get:                           ## @x25_dev_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rsi
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	_dev_get_by_name
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	movq	_ARPHRD_X25@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_dev_put
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_init_net,4,2                   ## @init_net
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_ARPHRD_X25,8,3                 ## @ARPHRD_X25
	.comm	_ARPHRD_ETHER,8,3               ## @ARPHRD_ETHER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_dev_get                    ; -- Begin function x25_dev_get
	.p2align	2
_x25_dev_get:                           ; @x25_dev_get
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x1, x0
Lloh0:
	adrp	x0, _init_net@GOTPAGE
Lloh1:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	_dev_get_by_name
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _ARPHRD_X25@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ARPHRD_X25@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_dev_put
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_init_net,4,2                   ; @init_net
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_ARPHRD_X25,8,3                 ; @ARPHRD_X25
	.comm	_ARPHRD_ETHER,8,3               ; @ARPHRD_ETHER
.subsections_via_symbols
