	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recv_gsi_handler
_recv_gsi_handler:                      ## @recv_gsi_handler
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rsi), %rax
	leaq	8(%rax), %rbx
	movq	_gmp@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	movq	_mgmt_class@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_10
LBB0_2:
	movq	_attr_id@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.3:
	movl	16(%rax), %edi
	callq	_be16_to_cpu
	cmpq	(%r15), %rax
	jne	LBB0_10
LBB0_4:
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_printk
	movq	%rbx, %rdi
	callq	_print_mad_hdr
	movq	%rbx, %rdi
	callq	_is_rmpp_mad
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_print_rmpp_hdr
	movq	%rbx, %r12
LBB0_6:
	movq	_data@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.7:
	movq	(%rbx), %rax
	movq	_IB_MGMT_CLASS_SUBN_ADM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:
	movq	_IB_MGMT_SA_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_is_rmpp_mad
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	(%r12), %rax
	movq	_IB_MGMT_RMPP_TYPE_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%rbx, %rdi
	callq	_is_rmpp_mad
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_IB_MGMT_VENDOR_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edx
	movl	8(%rax), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_14:
	testl	%r15d, %r15d
	jle	LBB0_19
LBB0_15:
	movq	(%r14), %r12
	movl	%r15d, %r13d
	leaq	L_.str.2(%rip), %r14
	leaq	L_.str.3(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	(%r12,%rbx,4), %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printk
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_19
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	testb	$15, %bl
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_18
LBB0_13:
	movq	_IB_MGMT_MAD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r14), %r14
	testl	%r15d, %r15d
	jg	LBB0_15
LBB0_19:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printk                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gmp,4,2                        ## @gmp
	.comm	_mgmt_class,8,3                 ## @mgmt_class
	.comm	_attr_id,8,3                    ## @attr_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Madeye:recv GMP\n"

	.comm	_data,8,3                       ## @data
	.comm	_IB_MGMT_CLASS_SUBN_ADM,8,3     ## @IB_MGMT_CLASS_SUBN_ADM
	.comm	_IB_MGMT_SA_DATA,4,2            ## @IB_MGMT_SA_DATA
	.comm	_IB_MGMT_RMPP_TYPE_DATA,8,3     ## @IB_MGMT_RMPP_TYPE_DATA
	.comm	_IB_MGMT_VENDOR_DATA,4,2        ## @IB_MGMT_VENDOR_DATA
L_.str.1:                               ## @.str.1
	.asciz	"Vendor OUI......%01x %01x %01x\n"

	.comm	_IB_MGMT_MAD_DATA,4,2           ## @IB_MGMT_MAD_DATA
L_.str.2:                               ## @.str.2
	.asciz	"\nData..........."

L_.str.3:                               ## @.str.3
	.asciz	"%01x "

L_.str.4:                               ## @.str.4
	.asciz	"\n"

	.no_dead_strip	_recv_gsi_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recv_gsi_handler
_recv_gsi_handler:                      ; @recv_gsi_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	ldr	x8, [x1]
	add	x20, x8, #8
Lloh0:
	adrp	x9, _gmp@GOTPAGE
Lloh1:
	ldr	x9, [x9, _gmp@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cbnz	w9, LBB0_2
; %bb.1:
	ldr	x9, [x20]
Lloh3:
	adrp	x10, _mgmt_class@GOTPAGE
Lloh4:
	ldr	x10, [x10, _mgmt_class@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_11
LBB0_2:
Lloh6:
	adrp	x21, _attr_id@GOTPAGE
Lloh7:
	ldr	x21, [x21, _attr_id@GOTPAGEOFF]
	ldr	x9, [x21]
	cbz	x9, LBB0_4
; %bb.3:
	ldr	w0, [x8, #16]
	bl	_be16_to_cpu
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_11
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	mov	x0, x20
	bl	_print_mad_hdr
	mov	x0, x20
	bl	_is_rmpp_mad
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_print_rmpp_hdr
	mov	x22, x20
	b	LBB0_7
LBB0_6:
	mov	x22, #0
LBB0_7:
Lloh10:
	adrp	x8, _data@GOTPAGE
Lloh11:
	ldr	x8, [x8, _data@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.8:
	ldr	x8, [x20]
Lloh13:
	adrp	x9, _IB_MGMT_CLASS_SUBN_ADM@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IB_MGMT_CLASS_SUBN_ADM@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:
Lloh16:
	adrp	x8, _IB_MGMT_SA_DATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IB_MGMT_SA_DATA@GOTPAGEOFF]
Lloh18:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_is_rmpp_mad
	cbz	x0, LBB0_14
; %bb.10:
	ldr	x8, [x22]
Lloh19:
	adrp	x9, _IB_MGMT_RMPP_TYPE_DATA@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IB_MGMT_RMPP_TYPE_DATA@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	mov	x0, x20
	bl	_is_rmpp_mad
	cbz	x0, LBB0_19
; %bb.13:
Lloh22:
	adrp	x8, _IB_MGMT_VENDOR_DATA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IB_MGMT_VENDOR_DATA@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
	ldr	x8, [x19, #8]
	ldp	w9, w10, [x8]
	ldr	w8, [x8, #8]
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
LBB0_14:
	cmp	w21, #1
	b.lt	LBB0_20
LBB0_15:
	mov	x22, #0
	ldr	x23, [x19]
	mov	w21, w21
Lloh27:
	adrp	x19, l_.str.2@PAGE
Lloh28:
	add	x19, x19, l_.str.2@PAGEOFF
Lloh29:
	adrp	x20, l_.str.3@PAGE
Lloh30:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x23, x22, lsl #2]
	str	x8, [sp]
	mov	x0, x20
	bl	_printk
	add	x22, x22, #1
	cmp	x21, x22
	b.eq	LBB0_20
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	tst	x22, #0xf
	b.ne	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_printk
	b	LBB0_16
LBB0_19:
Lloh31:
	adrp	x8, _IB_MGMT_MAD_DATA@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IB_MGMT_MAD_DATA@GOTPAGEOFF]
Lloh33:
	ldr	w21, [x8]
	ldr	x19, [x19]
	cmp	w21, #1
	b.ge	LBB0_15
LBB0_20:
Lloh34:
	adrp	x0, l_.str.4@PAGE
Lloh35:
	add	x0, x0, l_.str.4@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_printk
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_gmp,4,2                        ; @gmp
	.comm	_mgmt_class,8,3                 ; @mgmt_class
	.comm	_attr_id,8,3                    ; @attr_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Madeye:recv GMP\n"

	.comm	_data,8,3                       ; @data
	.comm	_IB_MGMT_CLASS_SUBN_ADM,8,3     ; @IB_MGMT_CLASS_SUBN_ADM
	.comm	_IB_MGMT_SA_DATA,4,2            ; @IB_MGMT_SA_DATA
	.comm	_IB_MGMT_RMPP_TYPE_DATA,8,3     ; @IB_MGMT_RMPP_TYPE_DATA
	.comm	_IB_MGMT_VENDOR_DATA,4,2        ; @IB_MGMT_VENDOR_DATA
l_.str.1:                               ; @.str.1
	.asciz	"Vendor OUI......%01x %01x %01x\n"

	.comm	_IB_MGMT_MAD_DATA,4,2           ; @IB_MGMT_MAD_DATA
l_.str.2:                               ; @.str.2
	.asciz	"\nData..........."

l_.str.3:                               ; @.str.3
	.asciz	"%01x "

l_.str.4:                               ; @.str.4
	.asciz	"\n"

	.no_dead_strip	_recv_gsi_handler
.subsections_via_symbols
