	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdiobus_free                   ## -- Begin function mdiobus_free
	.p2align	4, 0x90
_mdiobus_free:                          ## @mdiobus_free
	.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, %rbx
	movq	(%rdi), %rax
	movq	_MDIOBUS_ALLOCATED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_2:
	movq	_MDIOBUS_UNREGISTERED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUG_ON
	movq	_MDIOBUS_RELEASED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_put_device                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIOBUS_ALLOCATED,8,3          ## @MDIOBUS_ALLOCATED
	.comm	_MDIOBUS_UNREGISTERED,8,3       ## @MDIOBUS_UNREGISTERED
	.comm	_MDIOBUS_RELEASED,8,3           ## @MDIOBUS_RELEASED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdiobus_free                   ; -- Begin function mdiobus_free
	.p2align	2
_mdiobus_free:                          ; @mdiobus_free
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MDIOBUS_ALLOCATED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MDIOBUS_ALLOCATED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_2:
Lloh3:
	adrp	x9, _MDIOBUS_UNREGISTERED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MDIOBUS_UNREGISTERED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
Lloh6:
	adrp	x8, _MDIOBUS_RELEASED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIOBUS_RELEASED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19], #8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_put_device
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIOBUS_ALLOCATED,8,3          ; @MDIOBUS_ALLOCATED
	.comm	_MDIOBUS_UNREGISTERED,8,3       ; @MDIOBUS_UNREGISTERED
	.comm	_MDIOBUS_RELEASED,8,3           ; @MDIOBUS_RELEASED
.subsections_via_symbols
