	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subn_set_guidinfo
_subn_set_guidinfo:                     ## @subn_set_guidinfo
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_dd_from_ibdev
	movq	%rax, %r12
	movl	16(%rbx), %edi
	callq	_be32_to_cpu
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	leal	-1(%r14), %edx
	cmpl	(%r12), %edx
	jae	LBB0_5
## %bb.2:
	movq	_QIB_GUIDS_PER_PORT@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jb	LBB0_6
## %bb.3:
	movq	8(%rbx), %rcx
	movl	%edx, %edx
	movq	8(%r12), %rsi
	movq	(%rsi,%rdx,8), %rdx
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi,4), %edi
	movl	%edi, -4(%rdx,%rsi,4)
	incq	%rsi
	movl	(%rax), %edi
	cmpq	%rdi, %rsi
	jb	LBB0_4
	jmp	LBB0_6
LBB0_5:
	movq	_IB_SMP_INVALID_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_subn_get_guidinfo              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QIB_GUIDS_PER_PORT,4,2         ## @QIB_GUIDS_PER_PORT
	.comm	_IB_SMP_INVALID_FIELD,4,2       ## @IB_SMP_INVALID_FIELD
	.no_dead_strip	_subn_set_guidinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subn_set_guidinfo
_subn_set_guidinfo:                     ; @subn_set_guidinfo
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_dd_from_ibdev
	mov	x22, x0
	ldr	w0, [x21, #16]
	bl	_be32_to_cpu
	cbnz	w0, LBB0_5
; %bb.1:
	sub	w10, w19, #1
	ldr	w8, [x22]
	cmp	w10, w8
	b.hs	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _QIB_GUIDS_PER_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QIB_GUIDS_PER_PORT@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #2
	b.lo	LBB0_6
; %bb.3:
	mov	x9, #0
	ldr	x11, [x21, #8]
	ldr	x12, [x22, #8]
	ldr	x10, [x12, w10, uxtw #3]
	add	x11, x11, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #2
	ldr	w13, [x11, x12]
	str	w13, [x10, x12]
	ldr	w12, [x8]
	add	x13, x9, #2
	add	x9, x9, #1
	cmp	x13, x12
	b.lo	LBB0_4
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _IB_SMP_INVALID_FIELD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_SMP_INVALID_FIELD@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_subn_get_guidinfo
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QIB_GUIDS_PER_PORT,4,2         ; @QIB_GUIDS_PER_PORT
	.comm	_IB_SMP_INVALID_FIELD,4,2       ; @IB_SMP_INVALID_FIELD
	.no_dead_strip	_subn_set_guidinfo
.subsections_via_symbols
