	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iser_set_sig_attrs
_iser_set_sig_attrs:                    ## @iser_set_sig_attrs
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_scsi_get_prot_op
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_9
## %bb.1:
	movl	$12, %ecx
	btl	%eax, %ecx
	jb	LBB0_6
## %bb.2:
	movl	$18, %ecx
	btl	%eax, %ecx
	jae	LBB0_7
## %bb.3:
	leaq	16(%r14), %rsi
	movq	%rbx, %rdi
	callq	_iser_set_dif_domain
	movq	_IB_T10DIF_CRC@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 16(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_iser_set_dif_domain
	movq	_SCSI_PROT_IP_CHECKSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	je	LBB0_5
## %bb.4:
	movq	_IB_T10DIF_CSUM@GOTPCREL(%rip), %r15
LBB0_5:
	movq	(%r15), %rax
	jmp	LBB0_12
LBB0_6:
	movq	_IB_SIG_TYPE_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	leaq	16(%r14), %rsi
	movq	%rbx, %rdi
	callq	_iser_set_dif_domain
	movq	_IB_T10DIF_CRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	jmp	LBB0_13
LBB0_7:
	movq	_IB_SIG_TYPE_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_iser_set_dif_domain
	movq	_SCSI_PROT_IP_CHECKSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	jne	LBB0_10
## %bb.8:
	movq	_IB_T10DIF_CRC@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	%rbx, %rdi
	callq	_scsi_get_prot_op
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_iser_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_10:
	movq	_IB_T10DIF_CSUM@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
LBB0_12:
	movq	%rax, (%r14)
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SIG_TYPE_NONE,8,3           ## @IB_SIG_TYPE_NONE
	.comm	_IB_T10DIF_CRC,8,3              ## @IB_T10DIF_CRC
	.comm	_SCSI_PROT_IP_CHECKSUM,4,2      ## @SCSI_PROT_IP_CHECKSUM
	.comm	_IB_T10DIF_CSUM,8,3             ## @IB_T10DIF_CSUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported PI operation %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_iser_set_sig_attrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iser_set_sig_attrs
_iser_set_sig_attrs:                    ; @iser_set_sig_attrs
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_scsi_get_prot_op
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_7
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	tst	w8, #0xc
	b.ne	LBB0_4
; %bb.2:
	mov	w9, #18
	tst	w8, w9
	b.eq	LBB0_5
; %bb.3:
	add	x1, x19, #16
	mov	x0, x20
	bl	_iser_set_dif_domain
Lloh0:
	adrp	x21, _IB_T10DIF_CRC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IB_T10DIF_CRC@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x19, #16]
	mov	x0, x20
	mov	x1, x19
	bl	_iser_set_dif_domain
	mov	w0, #0
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _SCSI_PROT_IP_CHECKSUM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SCSI_PROT_IP_CHECKSUM@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _IB_T10DIF_CSUM@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IB_T10DIF_CSUM@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x21, x10, eq
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _IB_SIG_TYPE_NONE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IB_SIG_TYPE_NONE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	add	x1, x19, #16
	mov	x0, x20
	bl	_iser_set_dif_domain
	mov	w0, #0
Lloh10:
	adrp	x8, _IB_T10DIF_CRC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IB_T10DIF_CRC@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	b	LBB0_8
LBB0_5:
Lloh13:
	adrp	x8, _IB_SIG_TYPE_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IB_SIG_TYPE_NONE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_iser_set_dif_domain
	mov	w0, #0
	ldr	w8, [x20]
Lloh16:
	adrp	x9, _SCSI_PROT_IP_CHECKSUM@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SCSI_PROT_IP_CHECKSUM@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _IB_T10DIF_CSUM@GOTPAGE
Lloh20:
	ldr	x10, [x10, _IB_T10DIF_CSUM@GOTPAGEOFF]
Lloh21:
	adrp	x11, _IB_T10DIF_CRC@GOTPAGE
Lloh22:
	ldr	x11, [x11, _IB_T10DIF_CRC@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
LBB0_6:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_scsi_get_prot_op
	mov	x1, x0
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	_iser_err
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SIG_TYPE_NONE,8,3           ; @IB_SIG_TYPE_NONE
	.comm	_IB_T10DIF_CRC,8,3              ; @IB_T10DIF_CRC
	.comm	_SCSI_PROT_IP_CHECKSUM,4,2      ; @SCSI_PROT_IP_CHECKSUM
	.comm	_IB_T10DIF_CSUM,8,3             ; @IB_T10DIF_CSUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported PI operation %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_iser_set_sig_attrs
.subsections_via_symbols
