	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mptsas_is_end_device
_mptsas_is_end_device:                  ## @mptsas_is_end_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	movl	(%rdi), %ecx
	movq	_MPI_SAS_DEVICE_INFO_END_DEVICE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_MPI_SAS_DEVICE_INFO_SSP_TARGET@GOTPCREL(%rip), %rax
	movq	_MPI_SAS_DEVICE_INFO_STP_TARGET@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movq	_MPI_SAS_DEVICE_INFO_SATA_DEVICE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	$1, %eax
	testl	%ecx, %edx
	je	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPI_SAS_DEVICE_INFO_END_DEVICE,4,2 ## @MPI_SAS_DEVICE_INFO_END_DEVICE
	.comm	_MPI_SAS_DEVICE_INFO_SSP_TARGET,4,2 ## @MPI_SAS_DEVICE_INFO_SSP_TARGET
	.comm	_MPI_SAS_DEVICE_INFO_STP_TARGET,4,2 ## @MPI_SAS_DEVICE_INFO_STP_TARGET
	.comm	_MPI_SAS_DEVICE_INFO_SATA_DEVICE,4,2 ## @MPI_SAS_DEVICE_INFO_SATA_DEVICE
	.no_dead_strip	_mptsas_is_end_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mptsas_is_end_device
_mptsas_is_end_device:                  ; @mptsas_is_end_device
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MPI_SAS_DEVICE_INFO_END_DEVICE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MPI_SAS_DEVICE_INFO_END_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _MPI_SAS_DEVICE_INFO_SSP_TARGET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MPI_SAS_DEVICE_INFO_SSP_TARGET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _MPI_SAS_DEVICE_INFO_STP_TARGET@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MPI_SAS_DEVICE_INFO_STP_TARGET@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _MPI_SAS_DEVICE_INFO_SATA_DEVICE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MPI_SAS_DEVICE_INFO_SATA_DEVICE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #1
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MPI_SAS_DEVICE_INFO_END_DEVICE,4,2 ; @MPI_SAS_DEVICE_INFO_END_DEVICE
	.comm	_MPI_SAS_DEVICE_INFO_SSP_TARGET,4,2 ; @MPI_SAS_DEVICE_INFO_SSP_TARGET
	.comm	_MPI_SAS_DEVICE_INFO_STP_TARGET,4,2 ; @MPI_SAS_DEVICE_INFO_STP_TARGET
	.comm	_MPI_SAS_DEVICE_INFO_SATA_DEVICE,4,2 ; @MPI_SAS_DEVICE_INFO_SATA_DEVICE
	.no_dead_strip	_mptsas_is_end_device
.subsections_via_symbols
