	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_candev                ## -- Begin function register_candev
	.p2align	4, 0x90
_register_candev:                       ## @register_candev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movl	20(%rax), %ecx
	testl	%ecx, %ecx
	sete	%dl
	cmpl	$0, 24(%rax)
	setne	%bl
	cmpb	%bl, %dl
	je	LBB0_4
## %bb.1:
	testl	%ecx, %ecx
	sete	%cl
	cmpl	$0, 16(%rax)
	setne	%dl
	xorb	%cl, %dl
	je	LBB0_4
## %bb.2:
	cmpl	$0, 12(%rax)
	setne	%cl
	cmpl	$0, 8(%rax)
	sete	%dl
	xorb	%cl, %dl
	je	LBB0_4
## %bb.3:
	cmpl	$0, 4(%rax)
	setne	%cl
	cmpl	$0, (%rax)
	sete	%al
	xorb	%cl, %al
	je	LBB0_4
## %bb.5:
	movq	_can_link_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_register_netdev                ## TAILCALL
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_can_link_ops,4,2               ## @can_link_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_candev                ; -- Begin function register_candev
	.p2align	2
_register_candev:                       ; @register_candev
	.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	x19, x0
	bl	_netdev_priv
	ldp	w8, w9, [x0, #20]
	cmp	w8, #0
	cset	w10, eq
	cmp	w9, #0
	cset	w9, ne
	cmp	w10, w9
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #0
	cset	w8, eq
	ldr	w9, [x0, #16]
	cmp	w9, #0
	cset	w9, ne
	eor	w8, w8, w9
	tbz	w8, #0, LBB0_5
; %bb.2:
	ldp	w9, w8, [x0, #8]
	cmp	w8, #0
	cset	w8, ne
	cmp	w9, #0
	cset	w9, eq
	eor	w8, w8, w9
	tbz	w8, #0, LBB0_5
; %bb.3:
	ldp	w9, w8, [x0]
	cmp	w8, #0
	cset	w8, ne
	cmp	w9, #0
	cset	w9, eq
	eor	w8, w8, w9
	tbz	w8, #0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _can_link_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _can_link_ops@GOTPAGEOFF]
	str	x8, [x19]
	mov	x0, x19
	bl	_netif_carrier_off
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_register_netdev
LBB0_5:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_can_link_ops,4,2               ; @can_link_ops
.subsections_via_symbols
