	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_os_portmod_changed          ## -- Begin function t4_os_portmod_changed
	.p2align	4, 0x90
_t4_os_portmod_changed:                 ## @t4_os_portmod_changed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %r14
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	(%rax), %rbx
	movq	_FW_PORT_MOD_TYPE_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_1
## %bb.3:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_info                    ## TAILCALL
LBB0_1:
	leaq	_t4_os_portmod_changed.mod_str(%rip), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jae	LBB0_2
## %bb.4:
	movq	(%r12), %rax
	movq	(%r15,%rax,8), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_info                    ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @t4_os_portmod_changed.mod_str
_t4_os_portmod_changed.mod_str:
	.quad	0
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LR"

L_.str.1:                               ## @.str.1
	.asciz	"SR"

L_.str.2:                               ## @.str.2
	.asciz	"ER"

L_.str.3:                               ## @.str.3
	.asciz	"passive DA"

L_.str.4:                               ## @.str.4
	.asciz	"active DA"

L_.str.5:                               ## @.str.5
	.asciz	"LRM"

	.comm	_FW_PORT_MOD_TYPE_NONE,8,3      ## @FW_PORT_MOD_TYPE_NONE
L_.str.6:                               ## @.str.6
	.asciz	"port module unplugged\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s module inserted\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_os_portmod_changed          ; -- Begin function t4_os_portmod_changed
	.p2align	2
_t4_os_portmod_changed:                 ; @t4_os_portmod_changed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
	ldr	x19, [x8, w1, sxtw #3]
	mov	x0, x19
	bl	_netdev_priv
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _FW_PORT_MOD_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PORT_MOD_TYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str.6@PAGE
Lloh4:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_netdev_info
LBB0_2:
	mov	x20, x0
Lloh5:
	adrp	x21, _t4_os_portmod_changed.mod_str@PAGE
Lloh6:
	add	x21, x21, _t4_os_portmod_changed.mod_str@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	cmp	x22, x0
	b.hs	LBB0_4
; %bb.3:
	ldr	x8, [x20]
	ldr	x8, [x21, x8, lsl #3]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.7@PAGE
Lloh8:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @t4_os_portmod_changed.mod_str
_t4_os_portmod_changed.mod_str:
	.quad	0
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LR"

l_.str.1:                               ; @.str.1
	.asciz	"SR"

l_.str.2:                               ; @.str.2
	.asciz	"ER"

l_.str.3:                               ; @.str.3
	.asciz	"passive DA"

l_.str.4:                               ; @.str.4
	.asciz	"active DA"

l_.str.5:                               ; @.str.5
	.asciz	"LRM"

	.comm	_FW_PORT_MOD_TYPE_NONE,8,3      ; @FW_PORT_MOD_TYPE_NONE
l_.str.6:                               ; @.str.6
	.asciz	"port module unplugged\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s module inserted\n"

.subsections_via_symbols
