	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mb_broadcast_hotplug
_mb_broadcast_hotplug:                  ## @mb_broadcast_hotplug
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	cmpq	_macio_bus_type@GOTPCREL(%rip), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movl	4(%rsi), %eax
	movq	_mb_up@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.2:
	movq	_MB_NO@GOTPCREL(%rip), %rsi
LBB0_3:
	movl	(%rsi), %r14d
	movq	_MB_FD1@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_5
## %bb.4:
	movq	_MB_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	%rbx, %rdi
	callq	_to_macio_device
	movq	%rax, %r15
	movq	(%rbx), %rdi
	callq	_to_macio_driver
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.6:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	*%rax
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_macio_bus_type,4,2             ## @macio_bus_type
	.comm	_mb_up,4,2                      ## @mb_up
	.comm	_MB_NO,4,2                      ## @MB_NO
	.comm	_MB_FD1,4,2                     ## @MB_FD1
	.comm	_MB_FD,4,2                      ## @MB_FD
	.no_dead_strip	_mb_broadcast_hotplug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mb_broadcast_hotplug
_mb_broadcast_hotplug:                  ; @mb_broadcast_hotplug
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, #8]
Lloh0:
	adrp	x9, _macio_bus_type@GOTPAGE
Lloh1:
	ldr	x9, [x9, _macio_bus_type@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x1, #4]
Lloh2:
	adrp	x9, _mb_up@GOTPAGE
Lloh3:
	ldr	x9, [x9, _mb_up@GOTPAGEOFF]
Lloh4:
	adrp	x10, _MB_NO@GOTPAGE
Lloh5:
	ldr	x10, [x10, _MB_NO@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	x8, x1, x10, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _MB_FD1@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MB_FD1@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _MB_FD@GOTPAGE
Lloh11:
	ldr	x10, [x10, _MB_FD@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	cmp	w8, w9
	csel	w20, w10, w8, eq
	bl	_to_macio_device
	mov	x21, x0
	ldr	x0, [x19]
	bl	_to_macio_driver
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	blr	x8
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_macio_bus_type,4,2             ; @macio_bus_type
	.comm	_mb_up,4,2                      ; @mb_up
	.comm	_MB_NO,4,2                      ; @MB_NO
	.comm	_MB_FD1,4,2                     ; @MB_FD1
	.comm	_MB_FD,4,2                      ; @MB_FD
	.no_dead_strip	_mb_broadcast_hotplug
.subsections_via_symbols
