	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2o_scsi_notify_controller_add
_i2o_scsi_notify_controller_add:        ## @i2o_scsi_notify_controller_add
	.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	_i2o_scsi_host_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_osm_err                        ## TAILCALL
LBB0_1:
	movl	(%rbx), %edi
	leaq	8(%r14), %rsi
	callq	_scsi_add_host
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_osm_err
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_scsi_host_put                  ## TAILCALL
LBB0_2:
	movq	(%r14), %rax
	movq	_i2o_scsi_driver@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, (%rax,%rcx,8)
	leaq	L_.str.2(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_osm_debug                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not initialize SCSI host\n"

L_.str.1:                               ## @.str.1
	.asciz	"Could not add SCSI host\n"

	.comm	_i2o_scsi_driver,8,3            ## @i2o_scsi_driver
L_.str.2:                               ## @.str.2
	.asciz	"new I2O SCSI host added\n"

	.no_dead_strip	_i2o_scsi_notify_controller_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2o_scsi_notify_controller_add
_i2o_scsi_notify_controller_add:        ; @i2o_scsi_notify_controller_add
	.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	x20, x0
	bl	_i2o_scsi_host_alloc
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_osm_err
LBB0_2:
	ldr	w0, [x19]
	add	x1, x20, #8
	bl	_scsi_add_host
	cbz	w0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_osm_err
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_scsi_host_put
LBB0_4:
	ldr	x8, [x20]
Lloh4:
	adrp	x9, _i2o_scsi_driver@GOTPAGE
Lloh5:
	ldr	x9, [x9, _i2o_scsi_driver@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	str	x19, [x8, x9, lsl #3]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_osm_debug
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not initialize SCSI host\n"

l_.str.1:                               ; @.str.1
	.asciz	"Could not add SCSI host\n"

	.comm	_i2o_scsi_driver,8,3            ; @i2o_scsi_driver
l_.str.2:                               ; @.str.2
	.asciz	"new I2O SCSI host added\n"

	.no_dead_strip	_i2o_scsi_notify_controller_add
.subsections_via_symbols
